语言

CommunicationObject.OnClosing 方法

定义

在将通信对象转换为结束状态期间调用。

protected:
 virtual void OnClosing();
protected virtual void OnClosing();
abstract member OnClosing : unit -> unit
override this.OnClosing : unit -> unit
Protected Overridable Sub OnClosing ()

注解

该方法Close在通信对象最初处于OnClosing状态时调用Opened。

适用于