CommunicationObject.OnOpened 方法

定義

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

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

備註

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

適用於