LdapException Konstruktoren

Definition

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

Überlädt

Name Beschreibung
LdapException()

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

LdapException(Int32)

Der LdapException(Int32) Konstruktor erstellt eine Instanz der LdapException Klasse mithilfe des angegebenen Fehlercodes. Die standardmeldung, die dem Client angezeigt wird, lautet "Kommunikationsfehler mit dem LDAP-Server".

LdapException(String)

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

LdapException(Int32, String)

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

LdapException(SerializationInfo, StreamingContext)
Veraltet.

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

LdapException(String, Exception)

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

LdapException(Int32, String, Exception)

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

LdapException(Int32, String, String)

Der LdapException(Int32, String, String) Konstruktor erstellt eine Instanz der LdapException Klasse mithilfe der angegebenen Fehlercode-, Meldungs- und LDAP-Serverfehlermeldung.

LdapException()

Quelle:
LdapException.cs
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
Quelle:
LdapException.cs

Der LdapException(Int32) Konstruktor erstellt eine Instanz der LdapException Klasse mithilfe des angegebenen Fehlercodes. Die standardmeldung, die dem Client angezeigt wird, 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
Quelle:
LdapException.cs

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

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
Quelle:
LdapException.cs

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

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
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 eine Instanz der Klasse mithilfe der LdapException angegebenen Serialisierungsdaten und des Streamingkontexts.

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);
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}")>]
new System.DirectoryServices.Protocols.LdapException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.LdapException
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

Zum Serialisieren des Parameters erforderliche Daten.

context
StreamingContext

Die Quelle und das Ziel des serialisierten Datenstroms, der dem Parameter zugeordnet ist.

Attribute

Gilt für:

LdapException(String, Exception)

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

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

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
Quelle:
LdapException.cs

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

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
Quelle:
LdapException.cs

Der LdapException(Int32, String, String) Konstruktor erstellt eine Instanz der LdapException Klasse mithilfe der angegebenen Fehlercode-, Meldungs- und LDAP-Serverfehlermeldung.

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: