TextWriterTraceListener Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the TextWriterTraceListener class.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodTextWriterTraceListener()

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

System_CAPS_pubmethodTextWriterTraceListener(Stream)

Initializes a new instance of the TextWriterTraceListener class, using the stream as the recipient of the debugging and tracing output.

System_CAPS_pubmethodTextWriterTraceListener(Stream, String)

Initializes a new instance of the TextWriterTraceListener class with the specified name, using the stream as the recipient of the debugging and tracing output.

System_CAPS_pubmethodTextWriterTraceListener(String)

Initializes a new instance of the TextWriterTraceListener class, using the file as the recipient of the debugging and tracing output.

System_CAPS_pubmethodTextWriterTraceListener(String, String)

Initializes a new instance of the TextWriterTraceListener class with the specified name, using the file as the recipient of the debugging and tracing output.

System_CAPS_pubmethodTextWriterTraceListener(TextWriter)

Initializes a new instance of the TextWriterTraceListener class using the specified writer as recipient of the tracing or debugging output.

System_CAPS_pubmethodTextWriterTraceListener(TextWriter, String)

Initializes a new instance of the TextWriterTraceListener class with the specified name, using the specified writer as recipient of the tracing or debugging output.

Return to top
Show: