When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
[Visual Basic] Public Overridable 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 must reinitialize the object.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework