LdapException クラス

定義

LdapException クラスは、LDAP が ResultCode に含まれないエラー コードを返す場合に発生する例外です。

public ref class LdapException : System::DirectoryServices::Protocols::DirectoryException
public class LdapException : System.DirectoryServices.Protocols.DirectoryException
[System.Serializable]
public class LdapException : System.DirectoryServices.Protocols.DirectoryException
type LdapException = class
    inherit DirectoryException
    interface ISerializable
[<System.Serializable>]
type LdapException = class
    inherit DirectoryException
    interface ISerializable
Public Class LdapException
Inherits DirectoryException
継承
属性
実装

コンストラクター

LdapException()

LdapException() コンストラクターは、 LdapException クラスのインスタンスを作成します。

LdapException(Int32)

LdapException(Int32) コンストラクターは、指定されたエラー コードを使用して、LdapException クラスのインスタンスを作成します。 クライアントに表示する既定のメッセージは "LDAP サーバーとの通信エラー" です。

LdapException(Int32, String)

LdapException(Int32, String) コンストラクターは、指定されたエラー コードとメッセージを使用して、LdapException クラスのインスタンスを作成します。

LdapException(Int32, String, Exception)

LdapException(Int32, String, Exception) コンストラクターは、指定したエラー コード、メッセージ、および内部例外を使用して、LdapException クラスのインスタンスを作成します。

LdapException(Int32, String, String)

LdapException(Int32, String, String) コンストラクターは、指定されたエラー コード、メッセージ、LDAP サーバー エラー メッセージを使用して、LdapException クラスのインスタンスを作成します。

LdapException(SerializationInfo, StreamingContext)
古い.

LdapException(SerializationInfo, StreamingContext) コンストラクターは、指定したシリアル化データとストリーム コンテキストを使用して、LdapException クラスのインスタンスを作成します。

LdapException(String)

LdapException(String) コンストラクターは、指定されたメッセージを使用して、LdapException クラスのインスタンスを作成します。

LdapException(String, Exception)

LdapException(String, Exception) コンストラクターは、指定されたメッセージと内部例外を使用して、LdapException クラスのインスタンスを作成します。

プロパティ

Data

例外に関する追加のユーザー定義情報を提供する、キーと値のペアのコレクションを取得します。

(継承元 Exception)
ErrorCode

ErrorCode プロパティは、LDAP エラー コードを格納します。

HelpLink

この例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。

(継承元 Exception)
HResult

特定の例外に割り当てられているコード化数値である HRESULT を取得または設定します。

(継承元 Exception)
InnerException

現在の例外の原因となる Exception インスタンスを取得します。

(継承元 Exception)
Message

現在の例外を説明するメッセージを取得します。

(継承元 Exception)
PartialResults

PartialResults プロパティは、部分的な結果を格納している PartialResultsCollection オブジェクトを格納します。

ServerErrorMessage

ServerErrorMessage プロパティは、LDAP サーバー エラー メッセージを格納している String を格納します (メッセージが存在する場合)。

Source

エラーの原因となるアプリケーションまたはオブジェクトの名前を取得または設定します。

(継承元 Exception)
StackTrace

呼び出し履歴で直前のフレームの文字列形式を取得します。

(継承元 Exception)
TargetSite

現在の例外がスローされたメソッドを取得します。

(継承元 Exception)

メソッド

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetBaseException()

派生クラスでオーバーライドされた場合、それ以後に発生する 1 つ以上の例外の根本原因である Exception を返します。

(継承元 Exception)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetObjectData(SerializationInfo, StreamingContext)

GetObjectData(SerializationInfo, StreamingContext) メソッドは、パラメーターをシリアル化するために必要なデータを SerializationInfo オブジェクトに格納します。

GetObjectData(SerializationInfo, StreamingContext)
古い.

派生クラスでオーバーライドされた場合は、その例外に関する情報を使用して SerializationInfo を設定します。

(継承元 Exception)
GetType()

現在のインスタンスのランタイム型を取得します。

(継承元 Exception)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在の例外の文字列形式を作成して返します。

(継承元 Exception)

イベント

SerializeObjectState
古い.

例外がシリアル化され、例外に関するシリアル化されたデータを含む例外状態オブジェクトが作成されたときに発生します。

(継承元 Exception)

適用対象