共用方式為


CommunicationObject.Opening 事件

定義

當通訊物件轉換至開啟狀態時發生。

public:
 virtual event EventHandler ^ Opening;
public event EventHandler Opening;
member this.Opening : EventHandler 
Public Custom Event Opening As EventHandler 
Public Event Opening As EventHandler 

事件類型

實作

備註

Opening 事件會由 OnOpening 方法引發,而此方法是由 OpenOnBeginOpen(TimeSpan, AsyncCallback, Object) 方法所呼叫。

適用於