ConsoleTraceListener.Close 方法

定义

关闭到为此跟踪侦听器指定的流的输出。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 ()

注解

为此实例指定的流 ConsoleTraceListener (Console.Out 流或 Console.Error 流) 处于关闭状态。The stream specified for this ConsoleTraceListener instance (either the Console.Out stream or the Console.Error stream) is closed.

适用于