'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 TraceLogger 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 )
Parameters
- severity
- The severity enum value of the log message.
- skipFrames
- The number of stack frames back to the original logging method.
- exception
- An Exception object attached to this log message, or null if none.
- detailsXml
- An XML document (as a string) with extended details about the message.
- category
- The application subsystem or logging category that the log message is associated with, which supports a dot-delimited hierarchy.
- caption
- A simple single-line message caption.
- description
- Additional multi-line descriptive message (or may be null)