ExceptionMapper 類別

定義

定義要用於將例外狀況轉譯為錯誤的對應。Defines the mapping to be used for translating exceptions to fault.

public ref class ExceptionMapper
public class ExceptionMapper
type ExceptionMapper = class
Public Class ExceptionMapper
繼承
ExceptionMapper

建構函式

ExceptionMapper()

初始化 ExceptionMapper 類別的新執行個體。Initializes a new instance of the ExceptionMapper class.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
FromException(Exception)

將輸入例外狀況轉譯為錯誤。Translates the input exception to a fault.

FromException(Exception, String, String)

將輸入例外狀況轉譯為錯誤。Translates the input exception to a fault.

GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
HandleSecurityTokenProcessingException(Exception)

判斷是否應處理安全性權杖處理期間發生的例外狀況。Determines whether an exception that occurred during the processing of a security token should be handled.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於