VistaDB 5






VistaDB.Loupe Namespace > Logger Class : WriteMessage Method
WriteMessage Method (Logger)
Syntax
'Declaration
 
Public Sub WriteMessage( _
   ByVal severity As System.Diagnostics.TraceEventType, _
   ByVal skipFrames As System.Integer, _
   ByVal exception As System.Exception, _
   ByVal detailsXml As System.String, _
   ByVal category As System.String, _
   ByVal caption As System.String, _
   ByVal description As System.String _
) 
'Usage
 
Dim instance As Logger
Dim severity As System.Diagnostics.TraceEventType
Dim skipFrames As System.Integer
Dim exception As System.Exception
Dim detailsXml As System.String
Dim category As System.String
Dim caption As System.String
Dim description As System.String
 
instance.WriteMessage(severity, skipFrames, exception, detailsXml, category, caption, description)
public void WriteMessage( 
   System.Diagnostics.TraceEventType severity,
   System.int skipFrames,
   System.Exception exception,
   System.string detailsXml,
   System.string category,
   System.string caption,
   System.string description
)
public procedure WriteMessage( 
    severity: System.Diagnostics.TraceEventType;
    skipFrames: System.Integer;
    exception: System.Exception;
    detailsXml: System.String;
    category: System.String;
    caption: System.String;
    description: System.String
); 
public function WriteMessage( 
   severity : System.Diagnostics.TraceEventType,
   skipFrames : System.int,
   exception : System.Exception,
   detailsXml : System.String,
   category : System.String,
   caption : System.String,
   description : System.String
);
public: void WriteMessage( 
   System.Diagnostics.TraceEventType severity,
   System.int skipFrames,
   System.Exception* exception,
   System.string* detailsXml,
   System.string* category,
   System.string* caption,
   System.string* description
) 
public:
void WriteMessage( 
   System.Diagnostics.TraceEventType severity,
   System.int skipFrames,
   System.Exception^ exception,
   System.String^ detailsXml,
   System.String^ category,
   System.String^ caption,
   System.String^ description
) 

Parameters

severity
skipFrames
exception
detailsXml
category
caption
description
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also