LdapException コンストラクター

定義

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

オーバーロード

LdapException()

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

LdapException(Int32)

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

LdapException(String)

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

LdapException(Int32, String)

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

LdapException(SerializationInfo, StreamingContext)
古い.

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

LdapException(String, Exception)

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

LdapException(Int32, String, Exception)

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

LdapException(Int32, String, String)

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

LdapException()

ソース:
LdapException.cs
ソース:
LdapException.cs
ソース:
LdapException.cs

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

public:
 LdapException();
public LdapException ();
Public Sub New ()

適用対象

LdapException(Int32)

ソース:
LdapException.cs
ソース:
LdapException.cs
ソース:
LdapException.cs

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

public:
 LdapException(int errorCode);
public LdapException (int errorCode);
new System.DirectoryServices.Protocols.LdapException : int -> System.DirectoryServices.Protocols.LdapException
Public Sub New (errorCode As Integer)

パラメーター

errorCode
Int32

LDAP 実装によって返されたエラー コード。

適用対象

LdapException(String)

ソース:
LdapException.cs
ソース:
LdapException.cs
ソース:
LdapException.cs

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

public:
 LdapException(System::String ^ message);
public LdapException (string message);
new System.DirectoryServices.Protocols.LdapException : string -> System.DirectoryServices.Protocols.LdapException
Public Sub New (message As String)

パラメーター

message
String

例外が発生した時点でクライアントに表示されるメッセージ。

適用対象

LdapException(Int32, String)

ソース:
LdapException.cs
ソース:
LdapException.cs
ソース:
LdapException.cs

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

public:
 LdapException(int errorCode, System::String ^ message);
public LdapException (int errorCode, string message);
new System.DirectoryServices.Protocols.LdapException : int * string -> System.DirectoryServices.Protocols.LdapException
Public Sub New (errorCode As Integer, message As String)

パラメーター

errorCode
Int32

LDAP 実装によって返されたエラー コード。

message
String

例外が発生した時点でクライアントに表示されるメッセージ。

適用対象

LdapException(SerializationInfo, StreamingContext)

ソース:
LdapException.cs
ソース:
LdapException.cs
ソース:
LdapException.cs

注意事項

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

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

protected:
 LdapException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected LdapException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected LdapException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.Protocols.LdapException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.LdapException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.DirectoryServices.Protocols.LdapException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.LdapException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

パラメーターをシリアル化するために必要なデータ。

context
StreamingContext

パラメーターに関連付けられているシリアル化ストリームの転送元と転送先。

属性

適用対象

LdapException(String, Exception)

ソース:
LdapException.cs
ソース:
LdapException.cs
ソース:
LdapException.cs

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

public:
 LdapException(System::String ^ message, Exception ^ inner);
public LdapException (string message, Exception inner);
new System.DirectoryServices.Protocols.LdapException : string * Exception -> System.DirectoryServices.Protocols.LdapException
Public Sub New (message As String, inner As Exception)

パラメーター

message
String

例外が発生した時点でクライアントに表示されるメッセージ。

inner
Exception

存在する場合は、例外をスローした内部例外。

適用対象

LdapException(Int32, String, Exception)

ソース:
LdapException.cs
ソース:
LdapException.cs
ソース:
LdapException.cs

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

public:
 LdapException(int errorCode, System::String ^ message, Exception ^ inner);
public LdapException (int errorCode, string message, Exception inner);
new System.DirectoryServices.Protocols.LdapException : int * string * Exception -> System.DirectoryServices.Protocols.LdapException
Public Sub New (errorCode As Integer, message As String, inner As Exception)

パラメーター

errorCode
Int32

LDAP 実装によって返されたエラー コード。

message
String

例外が発生した時点でクライアントに表示されるメッセージ。

inner
Exception

存在する場合は、例外をスローした内部例外。

適用対象

LdapException(Int32, String, String)

ソース:
LdapException.cs
ソース:
LdapException.cs
ソース:
LdapException.cs

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

public:
 LdapException(int errorCode, System::String ^ message, System::String ^ serverErrorMessage);
public LdapException (int errorCode, string message, string serverErrorMessage);
new System.DirectoryServices.Protocols.LdapException : int * string * string -> System.DirectoryServices.Protocols.LdapException
Public Sub New (errorCode As Integer, message As String, serverErrorMessage As String)

パラメーター

errorCode
Int32

LDAP 実装によって返されたエラー コード。

message
String

例外が発生した時点でクライアントに表示されるメッセージ。

serverErrorMessage
String

LDAP サーバーのエラー メッセージ。

適用対象