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 override void Close()

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: