TraceEvent Method

TraceSource.TraceEvent Method

 

Writes a trace event message to the trace listeners in the Listeners collection.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodTraceEvent(TraceEventType, Int32)

Writes a trace event message to the trace listeners in the Listeners collection using the specified event type and event identifier.

System_CAPS_pubmethodTraceEvent(TraceEventType, Int32, String)

Writes a trace event message to the trace listeners in the Listeners collection using the specified event type, event identifier, and message.

System_CAPS_pubmethodTraceEvent(TraceEventType, Int32, String, Object[])

Writes a trace event to the trace listeners in the Listeners collection using the specified event type, event identifier, and argument array and format.

Return to top
Show:
© 2016 Microsoft