ConsoleTraceListener.Close Method

Definition

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

public:
 override void Close();
public override void Close ();
override this.Close : unit -> unit
Public Overrides Sub Close ()

Remarks

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

Applies to