This documentation is archived and is not being maintained.

FileLogTraceListener.TraceEvent Method

Writes trace and event information to the output file or stream.

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

  NameDescription
Public method TraceEvent(TraceEventCache, String, TraceEventType, Int32) Writes trace and event information to the listener specific output. (Inherited from TraceListener.)
Public method TraceEvent(TraceEventCache, String, TraceEventType, Int32, String) Writes trace information, a message and event information to the output file or stream. (Overrides TraceListener.TraceEvent(TraceEventCache, String, TraceEventType, Int32, String).)
Public method TraceEvent(TraceEventCache, String, TraceEventType, Int32, String, Object[]) Writes trace information, a formatted array of objects, and event information to the output file or stream. (Overrides TraceListener.TraceEvent(TraceEventCache, String, TraceEventType, Int32, String, Object[]).)
Top

TraceEvent methods are not intended to be called by application code. These methods are called by members of the Debug, Trace, and TraceSource classes to write trace data to output.

Show: