CommunicationObject.OnClosing CommunicationObject.OnClosing CommunicationObject.OnClosing CommunicationObject.OnClosing Method

定義

通信オブジェクトが Closing 状態に遷移しているときに呼び出されます。Invoked during the transition of a communication object into the closing state.

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 を呼び出します。The Close method calls OnClosing if the communication object is initially in the Opened state.

適用対象