CommunicationObject.OnAbort 方法

定義

在通訊物件上插入處理 (當它因為叫用同步中止作業而轉換到關閉狀態之後)。Inserts processing on a communication object after it transitions to the closing state due to the invocation of a synchronous abort operation.

protected:
 abstract void OnAbort();
protected abstract void OnAbort ();
abstract member OnAbort : unit -> unit
Protected MustOverride Sub OnAbort ()

備註

如果通訊物件尚未處於 Abort 狀態,OnAbort 方法就會呼叫 ClosedThe Abort method calls OnAbort if the communication object is not already in a Closed state.

適用於