Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConsoleTraceListener::Close Method ()

.NET Framework (current version)
 

Closes the output to the stream specified for this trace listener.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public:
virtual void Close() override

The stream specified for this ConsoleTraceListener instance (either the Console::Out stream or the Console::Error stream) is closed.

.NET Framework
Available since 4.0
Return to top
Show: