Class Description
DefaultTraceListener Sends the message to OutputDebugString, Debugger.Log, and to a log file for trace messages and Fail. In addition, a modal dialog is displayed for Fail.
EventLogTraceListener Asserts and trace messages are written to an event log whose source is specified by the constructor.
TextWriterTraceListener Writes asserts and trace messages to a TextWriter, Stream, or a file.

Table 1: Trace Listeners in .NET Framework 1.0 and 1.1.

Back to Article