Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TraceEvent Method

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.

Community Additions

ADD
Show:
© 2015 Microsoft