ICommunicationObject.Closing 事件

定義

當通訊物件第一次進入關閉中狀態時發生。Occurs when the communication object first enters the closing state.

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

備註

當通訊物件第一次開始從 Opened 狀態轉換成 Closed 狀態,並在叫用 CloseBeginClose 方法之後,就會發生此事件。This event occurs when the communication object first begins to transition from the Opened state into the Closed state, immediately after either the Close or BeginClose method is invoked.

適用於