ITraceSource..::..TraceMessage Method
a trace event message to the trace listeners in the System.Diagnostics.TraceSource.Listeners collection using the specified event type and event identifier.
Namespace:
CAS.CommServer.DataProvider.TextReaderAssembly: DataProvider.TextReader (in DataProvider.TextReader.dll)
Syntax
void TraceMessage( TraceEventType eventType, int id, string message )
Sub TraceMessage ( _ eventType As TraceEventType, _ id As Integer, _ message As String _ )
void TraceMessage( TraceEventType^ eventType, int^ id, String^ message )
Parameters
- eventType
- Type: TraceEventType
One of the enumeration values that specifies the event type of the trace data.
- id
- Type: Int32
A numeric identifier for the event.
- message
- Type: String
The trace message to write.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | An attempt was made to trace an event during finalization. |