CommunicationObject.OnClosing Method

Definition

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 ()

Remarks

The Close method calls OnClosing if the communication object is initially in the Opened state.

Applies to