共用方式為


CommunicationObject.Closing 事件

定義

當通訊物件轉換至關閉狀態時就會發生。

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

事件類型

實作

備註

Closing 事件會由 OnClosing 方法引發,而此方法是由 CloseBeginClose 方法所呼叫。

適用於