CommunicationObject.OnFaulted 方法

定義

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

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

備註

Faulted 會由 OnFaulted 方法引發,而此方法是由 Fault 方法所呼叫。The Faulted event is raised by the OnFaulted method which is called by the Fault method.

適用於