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();
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.
TraceListener Class | TraceListener Members | System.Diagnostics Namespace | TraceListener | DefaultTraceListener | TextWriterTraceListener | Debug | Trace