NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TextWriterTraceListener Constructor

Initializes a new instance of the TextWriterTraceListener class.

Overload List

Initializes a new instance of the TextWriterTraceListener class.

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

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

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

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

[Visual Basic] Overloads Public Sub New(Stream, String)
[C#] public TextWriterTraceListener(Stream, String);
[C++] public: TextWriterTraceListener(Stream*, String);
[JScript] public function TextWriterTraceListener(Stream, String);

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

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

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

[Visual Basic] Overloads Public Sub New(TextWriter, String)
[C#] public TextWriterTraceListener(TextWriter, String);
[C++] public: TextWriterTraceListener(TextWriter*, String);
[JScript] public function TextWriterTraceListener(TextWriter, String);

See Also

TextWriterTraceListener Class | TextWriterTraceListener Members | System.Diagnostics Namespace