LdapException Konstruktoren

Definition

Der LdapException() -Konstruktor erstellt eine Instanz der LdapException -Klasse.

Überlädt

LdapException()

Der LdapException() -Konstruktor erstellt eine Instanz der LdapException -Klasse.

LdapException(Int32)

Der LdapException(Int32)-Konstruktor erstellt mithilfe des angegebenen Fehlercodes eine Instanz der LdapException-Klasse. Die dem Client angezeigte Standardmeldung lautet "Kommunikationsfehler mit dem LDAP-Server".

LdapException(String)

Der LdapException(String)-Konstruktor erstellt mithilfe der angegebenen Meldung eine Instanz der LdapException-Klasse.

LdapException(Int32, String)

Der LdapException(Int32, String)-Konstruktor erstellt mithilfe des angegebenen Fehlercodes und der angegebenen Meldung eine Instanz der LdapException-Klasse.

LdapException(SerializationInfo, StreamingContext)
Veraltet.

Der LdapException(SerializationInfo, StreamingContext)-Konstruktor erstellt mithilfe der angegebenen Serialisierungsdaten und des Streamingkontexts eine Instanz der LdapException-Klasse.

LdapException(String, Exception)

Der LdapException(String, Exception)-Konstruktor erstellt mithilfe der angegebenen Meldung und einer inneren Ausnahme eine Instanz der LdapException-Klasse.

LdapException(Int32, String, Exception)

Der LdapException(Int32, String, Exception)-Konstruktor erstellt mithilfe des angegebenen Fehlercodes, der angegebenen Meldung und einer inneren Ausnahme eine Instanz der LdapException-Klasse.

LdapException(Int32, String, String)

Der LdapException(Int32, String, String)-Konstruktor erstellt unter Verwendung des angegebenen Fehlercodes, der Nachricht und der LDAP-Serverfehlermeldung eine Instanz der LdapException-Klasse.

LdapException()

Quelle:
LdapException.cs
Quelle:
LdapException.cs
Quelle:
LdapException.cs

Der LdapException() -Konstruktor erstellt eine Instanz der LdapException -Klasse.

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

Gilt für:

LdapException(Int32)

Quelle:
LdapException.cs
Quelle:
LdapException.cs
Quelle:
LdapException.cs

Der LdapException(Int32)-Konstruktor erstellt mithilfe des angegebenen Fehlercodes eine Instanz der LdapException-Klasse. Die dem Client angezeigte Standardmeldung lautet "Kommunikationsfehler mit dem LDAP-Server".

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

Parameter

errorCode
Int32

Der von der LDAP-Implementierung zurückgegebene Fehlercode.

Gilt für:

LdapException(String)

Quelle:
LdapException.cs
Quelle:
LdapException.cs
Quelle:
LdapException.cs

Der LdapException(String)-Konstruktor erstellt mithilfe der angegebenen Meldung eine Instanz der LdapException-Klasse.

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)

Parameter

message
String

Die Meldung, die dem Client angezeigt wird, wenn die Ausnahme auftritt.

Gilt für:

LdapException(Int32, String)

Quelle:
LdapException.cs
Quelle:
LdapException.cs
Quelle:
LdapException.cs

Der LdapException(Int32, String)-Konstruktor erstellt mithilfe des angegebenen Fehlercodes und der angegebenen Meldung eine Instanz der LdapException-Klasse.

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)

Parameter

errorCode
Int32

Der von der LDAP-Implementierung zurückgegebene Fehlercode.

message
String

Die Meldung, die dem Client angezeigt wird, wenn die Ausnahme auftritt.

Gilt für:

LdapException(SerializationInfo, StreamingContext)

Quelle:
LdapException.cs
Quelle:
LdapException.cs
Quelle:
LdapException.cs

Achtung

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

Der LdapException(SerializationInfo, StreamingContext)-Konstruktor erstellt mithilfe der angegebenen Serialisierungsdaten und des Streamingkontexts eine Instanz der LdapException-Klasse.

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)

Parameter

info
SerializationInfo

Zur Serialisierung des Parameters erforderliche Daten.

context
StreamingContext

Die Quelle und das Ziel des serialisierten Streams, die dem Parameter zugeordnet sind.

Attribute

Gilt für:

LdapException(String, Exception)

Quelle:
LdapException.cs
Quelle:
LdapException.cs
Quelle:
LdapException.cs

Der LdapException(String, Exception)-Konstruktor erstellt mithilfe der angegebenen Meldung und einer inneren Ausnahme eine Instanz der LdapException-Klasse.

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)

Parameter

message
String

Die Meldung, die dem Client angezeigt wird, wenn die Ausnahme auftritt.

inner
Exception

Die innere Ausnahme, falls vorhanden, die die Ausnahme ausgelöst hat.

Gilt für:

LdapException(Int32, String, Exception)

Quelle:
LdapException.cs
Quelle:
LdapException.cs
Quelle:
LdapException.cs

Der LdapException(Int32, String, Exception)-Konstruktor erstellt mithilfe des angegebenen Fehlercodes, der angegebenen Meldung und einer inneren Ausnahme eine Instanz der LdapException-Klasse.

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)

Parameter

errorCode
Int32

Der von der LDAP-Implementierung zurückgegebene Fehlercode.

message
String

Die Meldung, die dem Client angezeigt wird, wenn die Ausnahme auftritt.

inner
Exception

Die innere Ausnahme, falls vorhanden, die die Ausnahme ausgelöst hat.

Gilt für:

LdapException(Int32, String, String)

Quelle:
LdapException.cs
Quelle:
LdapException.cs
Quelle:
LdapException.cs

Der LdapException(Int32, String, String)-Konstruktor erstellt unter Verwendung des angegebenen Fehlercodes, der Nachricht und der LDAP-Serverfehlermeldung eine Instanz der LdapException-Klasse.

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)

Parameter

errorCode
Int32

Der von der LDAP-Implementierung zurückgegebene Fehlercode.

message
String

Die Meldung, die dem Client angezeigt wird, wenn die Ausnahme auftritt.

serverErrorMessage
String

Die LDAP-Serverfehlermeldung.

Gilt für: