This documentation is archived and is not being maintained.

TextWriterTraceListener Constructor ()

.NET Framework 1.1

Initializes a new instance of the TextWriterTraceListener class with TextWriter as the output recipient.

[Visual Basic]
Public Sub New()
[C#]
public TextWriterTraceListener();
[C++]
public: TextWriterTraceListener();
[JScript]
public function TextWriterTraceListener();

Remarks

This contructor uses the TextWriter stream as the recipient of the tracing or debugging output. Its Name is initialized to "TextWriter".

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TextWriterTraceListener Class | TextWriterTraceListener Members | System.Diagnostics Namespace | TextWriterTraceListener Constructor Overload List | TraceListener | DefaultTraceListener | EventLogTraceListener | TextWriterTraceListener | Stream | TextWriter | Debug | Trace

Show: