Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
Show:
© 2015 Microsoft