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!

TraceListener.Close

When overridden in a derived class, closes the output stream so that it no longer receives tracing or debugging output.

[Visual Basic]
Overridable Public Sub Close()
[C#]
public virtual void Close();
[C++]
public: virtual void Close();
[JScript]
public function Close();

Remarks

Use this method when the output is going to a file such as to the TextWriterTraceListener. After a call to this method, you should reinitialize the object.

See Also

TraceListener Class | TraceListener Members | System.Diagnostics Namespace | TraceListener | DefaultTraceListener | TextWriterTraceListener | Debug | Trace