.NET Framework Class Library
TraceSource..::.TraceEvent Method

Updated: November 2007

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

  NameDescription
TraceEvent(TraceEventType, Int32) Writes a trace event message to the trace listeners in the Listeners collection using the specified event type and event identifier.
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.
TraceEvent(TraceEventType, Int32, String, array<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
Page view tracker