ErrorResponseException 類別

定義

ErrorResponseException 類別是伺服器回傳 <errorResponse>.

public ref class ErrorResponseException : System::DirectoryServices::Protocols::DirectoryException
[System.Serializable]
public class ErrorResponseException : System.DirectoryServices.Protocols.DirectoryException
[<System.Serializable>]
type ErrorResponseException = class
    inherit DirectoryException
    interface ISerializable
Public Class ErrorResponseException
Inherits DirectoryException
繼承
ErrorResponseException
屬性
實作

建構函式

名稱 Description
ErrorResponseException()

ErrorResponseException()建構子會建立該ErrorResponseException類別的實例。

ErrorResponseException(DsmlErrorResponse, String, Exception)

ErrorResponseException(DsmlErrorResponse, String, Exception)建構子會利用指定的回應物件、訊息和內部例外來建立該ErrorResponseException類別的實例。

ErrorResponseException(DsmlErrorResponse, String)

ErrorResponseException(DsmlErrorResponse, String)建構子會利用指定的回應物件和訊息建立該ErrorResponseException類別的實例。

ErrorResponseException(DsmlErrorResponse)

ErrorResponseException(DsmlErrorResponse)建構子會使用指定的回應物件建立該ErrorResponseException類別的實例。 客戶端預設顯示的訊息是「<errorResponse> returned」。

ErrorResponseException(SerializationInfo, StreamingContext)

建構子會 ErrorResponseException(SerializationInfo, StreamingContext) 利用指定的序列化資料和串流上下文建立該 ErrorResponseException 類別的實例。

ErrorResponseException(String, Exception)

ErrorResponseException(String, Exception)建構子會利用指定的訊息和內部例外建立該ErrorResponseException類別的實例。

ErrorResponseException(String)

ErrorResponseException(String)建構子會使用指定的訊息建立該ErrorResponseException類別的實例。

屬性

名稱 Description
Data

取得一組鍵值對,提供關於例外的額外使用者定義資訊。

(繼承來源 Exception)
HelpLink

取得或設定與此例外相關的說明檔案連結。

(繼承來源 Exception)
HResult

取得或設定 HRESULT,一個編碼的數值,指派給特定例外。

(繼承來源 Exception)
InnerException

會取得 Exception 造成目前例外的實例。

(繼承來源 Exception)
Message

取得描述目前例外狀況的訊息。

(繼承來源 Exception)
Response

Response 性質包含 DsmlErrorResponse 對應於 的 <errorResponse>物件。

Source

取得或設定造成錯誤之應用程式或物件的名稱。

(繼承來源 Exception)
StackTrace

會取得呼叫堆疊上即時框架的字串表示。

(繼承來源 Exception)
TargetSite

會取得拋出當前例外的方法。

(繼承來源 Exception)

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetBaseException()

當在派生類別中被覆寫時,回傳 Exception 是一個或多個後續例外的根因。

(繼承來源 Exception)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetObjectData(SerializationInfo, StreamingContext)

GetObjectData(SerializationInfo, StreamingContext)方法會將序列化參數所需的資料填充物件。SerializationInfo

GetType()

取得目前實例的執行時型態。

(繼承來源 Exception)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

建立並回傳當前例外的字串表示。

(繼承來源 Exception)

事件

名稱 Description
SerializeObjectState
已淘汰.

當例外被序列化以建立包含該例外序列化資料的例外狀態物件時,會發生這種情況。

(繼承來源 Exception)

適用於