LdapException Konstruktory

Definicja

Konstruktor LdapException() tworzy wystąpienie LdapException klasy .

Przeciążenia

LdapException()

Konstruktor LdapException() tworzy wystąpienie LdapException klasy .

LdapException(Int32)

Konstruktor LdapException(Int32) tworzy wystąpienie LdapException klasy przy użyciu określonego kodu błędu. Domyślny komunikat wyświetlany klientowi to "Komunikat o błędzie komunikacji z serwerem LDAP".

LdapException(String)

Konstruktor LdapException(String) tworzy wystąpienie LdapException klasy przy użyciu określonego komunikatu.

LdapException(Int32, String)

Konstruktor LdapException(Int32, String) tworzy wystąpienie klasy przy użyciu określonego LdapException kodu błędu i komunikatu.

LdapException(SerializationInfo, StreamingContext)
Przestarzałe.

Konstruktor LdapException(SerializationInfo, StreamingContext) tworzy wystąpienie LdapException klasy przy użyciu określonych danych serializacji i kontekstu przesyłania strumieniowego.

LdapException(String, Exception)

Konstruktor LdapException(String, Exception) tworzy wystąpienie klasy przy użyciu określonego LdapException komunikatu i wyjątku wewnętrznego.

LdapException(Int32, String, Exception)

Konstruktor LdapException(Int32, String, Exception) tworzy wystąpienie LdapException klasy przy użyciu określonego kodu błędu, komunikatu i wyjątku wewnętrznego.

LdapException(Int32, String, String)

Konstruktor LdapException(Int32, String, String) tworzy wystąpienie klasy przy użyciu określonego LdapException kodu błędu, komunikatu i komunikatu o błędzie serwera LDAP.

LdapException()

Źródło:
LdapException.cs
Źródło:
LdapException.cs
Źródło:
LdapException.cs

Konstruktor LdapException() tworzy wystąpienie LdapException klasy .

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

Dotyczy

LdapException(Int32)

Źródło:
LdapException.cs
Źródło:
LdapException.cs
Źródło:
LdapException.cs

Konstruktor LdapException(Int32) tworzy wystąpienie LdapException klasy przy użyciu określonego kodu błędu. Domyślny komunikat wyświetlany klientowi to "Komunikat o błędzie komunikacji z serwerem 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)

Parametry

errorCode
Int32

Kod błędu zwrócony przez implementację LDAP.

Dotyczy

LdapException(String)

Źródło:
LdapException.cs
Źródło:
LdapException.cs
Źródło:
LdapException.cs

Konstruktor LdapException(String) tworzy wystąpienie LdapException klasy przy użyciu określonego komunikatu.

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)

Parametry

message
String

Komunikat wyświetlany klientowi po wystąpieniu wyjątku.

Dotyczy

LdapException(Int32, String)

Źródło:
LdapException.cs
Źródło:
LdapException.cs
Źródło:
LdapException.cs

Konstruktor LdapException(Int32, String) tworzy wystąpienie klasy przy użyciu określonego LdapException kodu błędu i komunikatu.

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)

Parametry

errorCode
Int32

Kod błędu zwrócony przez implementację LDAP.

message
String

Komunikat wyświetlany klientowi po wystąpieniu wyjątku.

Dotyczy

LdapException(SerializationInfo, StreamingContext)

Źródło:
LdapException.cs
Źródło:
LdapException.cs
Źródło:
LdapException.cs

Przestroga

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

Konstruktor LdapException(SerializationInfo, StreamingContext) tworzy wystąpienie LdapException klasy przy użyciu określonych danych serializacji i kontekstu przesyłania strumieniowego.

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)

Parametry

info
SerializationInfo

Dane wymagane do serializacji parametru.

context
StreamingContext

Źródło i miejsce docelowe serializowanego strumienia skojarzonego z parametrem .

Atrybuty

Dotyczy

LdapException(String, Exception)

Źródło:
LdapException.cs
Źródło:
LdapException.cs
Źródło:
LdapException.cs

Konstruktor LdapException(String, Exception) tworzy wystąpienie klasy przy użyciu określonego LdapException komunikatu i wyjątku wewnętrznego.

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)

Parametry

message
String

Komunikat wyświetlany klientowi po wystąpieniu wyjątku.

inner
Exception

Wyjątek wewnętrzny, jeśli istnieje, który zwrócił wyjątek.

Dotyczy

LdapException(Int32, String, Exception)

Źródło:
LdapException.cs
Źródło:
LdapException.cs
Źródło:
LdapException.cs

Konstruktor LdapException(Int32, String, Exception) tworzy wystąpienie LdapException klasy przy użyciu określonego kodu błędu, komunikatu i wyjątku wewnętrznego.

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)

Parametry

errorCode
Int32

Kod błędu zwrócony przez implementację LDAP.

message
String

Komunikat wyświetlany klientowi po wystąpieniu wyjątku.

inner
Exception

Wyjątek wewnętrzny, jeśli istnieje, który zwrócił wyjątek.

Dotyczy

LdapException(Int32, String, String)

Źródło:
LdapException.cs
Źródło:
LdapException.cs
Źródło:
LdapException.cs

Konstruktor LdapException(Int32, String, String) tworzy wystąpienie klasy przy użyciu określonego LdapException kodu błędu, komunikatu i komunikatu o błędzie serwera LDAP.

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)

Parametry

errorCode
Int32

Kod błędu zwrócony przez implementację LDAP.

message
String

Komunikat wyświetlany klientowi po wystąpieniu wyjątku.

serverErrorMessage
String

Komunikat o błędzie serwera LDAP.

Dotyczy