CommunicationObject.OnOpening 方法

定義

在將通訊物件轉換至開啟狀態期間會叫用。Invoked during the transition of a communication object into the opening state.

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

備註

這提供了一種方式,可以在 OpenBeginOpen 方法呼叫處理時新增處理。This provides a way to add processing when it is called by the Open and BeginOpen methods.

適用於