FaultConverter 類別

定義

將通道擲回的例外狀況轉換為符合通道通訊協定的 SOAP 錯誤訊息。

public ref class FaultConverter abstract
public abstract class FaultConverter
type FaultConverter = class
Public MustInherit Class FaultConverter
繼承
FaultConverter

建構函式

FaultConverter()

初始化 FaultConverter 類別的新執行個體。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetDefaultFaultConverter(MessageVersion)

取得預設的錯誤轉換器。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnTryCreateException(Message, MessageFault, Exception)

嘗試建立例外狀況。

OnTryCreateFaultMessage(Exception, Message)

在錯誤轉換為 SOAP 例外狀況之後,會嘗試建立錯誤訊息。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
TryCreateException(Message, MessageFault, Exception)

使用錯誤檢查包裝 OnTryCreateException(Message, MessageFault, Exception)

TryCreateFaultMessage(Exception, Message)

使用錯誤檢查包裝 OnTryCreateFaultMessage(Exception, Message)

適用於