TraceSource.TraceEvent Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method TraceEvent(TraceEventType, Int32) Writes a trace event message to the trace listeners in the Listeners collection using the specified event type and event identifier.
Public method TraceEvent(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.
Public method TraceEvent(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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft