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!

Debug.Close

Clears the output buffer and then closes the Listeners so that they no longer receive debugging output.

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

Remarks

Use this method when the output is going to a file such as to the TextWriterTraceListener.

See Also

Debug Class | Debug Members | System.Diagnostics Namespace | Debug | Trace | BooleanSwitch | TraceSwitch | TraceListener | DefaultTraceListener | ConditionalAttribute