CAS.CommServer.DataProvider.MODBUSCore Namespace
CAS.CommServer.DataProvider.TextReader Namespace
CAS.Lib.CommonBus.ApplicationLayer Namespace
N:CAS.Lib.CommonBus.ApplicationLayer.Modbus
CAS.Lib.CommonBus.ApplicationLayer.Modbus Namespace
CAS.Lib.CommonBus.ApplicationLayer.SBUS Namespace
ProcessObserver.DataProviders

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.TextReader
Assembly:  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


ExceptionCondition
ObjectDisposedExceptionAn attempt was made to trace an event during finalization.