CommunicationObject.Fault 方法

定義

導致通訊物件從目前的狀態轉換為錯誤狀態。Causes a communication object to transition from its current state into the faulted state.

protected:
 void Fault();
protected void Fault ();
member this.Fault : unit -> unit
Protected Sub Fault ()

備註

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

適用於