Method TraceData
TraceData(TraceEventCache, String, TraceEventType, Int32, Object[])
Writes trace information, an array of data objects and event information to the listener specific output.
Declaration
public override void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, params object[] data)
Parameters
Type | Name | Description |
---|---|---|
TraceEventCache | eventCache | A TraceEventCache object that contains the current process ID, thread ID, and stack trace information. |
String | source | A name used to identify the output, typically the name of the application that generated the trace event. |
TraceEventType | eventType | One of the TraceEventType values specifying the type of event that has caused the trace. |
Int32 | id | A numeric identifier for the event. |
Object[] | data | An array of objects to emit as data. |
TraceData(TraceEventCache, String, TraceEventType, Int32, Object)
Writes trace information, a data object and event information to the listener specific output.
Declaration
public override void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data)
Parameters
Type | Name | Description |
---|---|---|
TraceEventCache | eventCache | A TraceEventCache object that contains the current process ID, thread ID, and stack trace information. |
String | source | A name used to identify the output, typically the name of the application that generated the trace event. |
TraceEventType | eventType | One of the TraceEventType values specifying the type of event that has caused the trace. |
Int32 | id | A numeric identifier for the event. |
Object | data | The trace data to emit. |