Aracılığıyla paylaş


LdapException Oluşturucular

Tanım

Oluşturucu sınıfının LdapException() bir örneğini LdapException oluşturur.

Aşırı Yüklemeler

LdapException()

Oluşturucu sınıfının LdapException() bir örneğini LdapException oluşturur.

LdapException(Int32)

Oluşturucu, LdapException(Int32) belirtilen hata kodunu kullanarak sınıfının bir örneğini LdapException oluşturur. İstemciye görüntülenen varsayılan ileti "LDAP sunucusuyla iletişim hatası"dır.

LdapException(String)

Oluşturucu, LdapException(String) belirtilen iletiyi kullanarak sınıfının bir örneğini LdapException oluşturur.

LdapException(Int32, String)

Oluşturucu, LdapException(Int32, String) belirtilen hata kodunu ve iletisini kullanarak sınıfının bir örneğini LdapException oluşturur.

LdapException(SerializationInfo, StreamingContext)
Geçersiz.

Oluşturucu, LdapException(SerializationInfo, StreamingContext) belirtilen serileştirme verilerini ve akış bağlamını LdapException kullanarak sınıfının bir örneğini oluşturur.

LdapException(String, Exception)

Oluşturucu, LdapException(String, Exception) belirtilen iletiyi ve iç özel durumu kullanarak sınıfının bir örneğini LdapException oluşturur.

LdapException(Int32, String, Exception)

Oluşturucu, LdapException(Int32, String, Exception) belirtilen hata kodunu, iletiyi ve iç özel durumu kullanarak sınıfının bir örneğini LdapException oluşturur.

LdapException(Int32, String, String)

Oluşturucu, LdapException(Int32, String, String) belirtilen hata kodunu, iletiyi ve LDAP sunucusu hata iletisini kullanarak sınıfın bir örneğini LdapException oluşturur.

LdapException()

Kaynak:
LdapException.cs
Kaynak:
LdapException.cs
Kaynak:
LdapException.cs

Oluşturucu sınıfının LdapException() bir örneğini LdapException oluşturur.

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

Şunlara uygulanır

LdapException(Int32)

Kaynak:
LdapException.cs
Kaynak:
LdapException.cs
Kaynak:
LdapException.cs

Oluşturucu, LdapException(Int32) belirtilen hata kodunu kullanarak sınıfının bir örneğini LdapException oluşturur. İstemciye görüntülenen varsayılan ileti "LDAP sunucusuyla iletişim hatası"dır.

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

Parametreler

errorCode
Int32

LDAP uygulaması tarafından döndürülen hata kodu.

Şunlara uygulanır

LdapException(String)

Kaynak:
LdapException.cs
Kaynak:
LdapException.cs
Kaynak:
LdapException.cs

Oluşturucu, LdapException(String) belirtilen iletiyi kullanarak sınıfının bir örneğini LdapException oluşturur.

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)

Parametreler

message
String

Özel durum oluştuğunda istemciye görüntülenen ileti.

Şunlara uygulanır

LdapException(Int32, String)

Kaynak:
LdapException.cs
Kaynak:
LdapException.cs
Kaynak:
LdapException.cs

Oluşturucu, LdapException(Int32, String) belirtilen hata kodunu ve iletisini kullanarak sınıfının bir örneğini LdapException oluşturur.

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)

Parametreler

errorCode
Int32

LDAP uygulaması tarafından döndürülen hata kodu.

message
String

Özel durum oluştuğunda istemciye görüntülenen ileti.

Şunlara uygulanır

LdapException(SerializationInfo, StreamingContext)

Kaynak:
LdapException.cs
Kaynak:
LdapException.cs
Kaynak:
LdapException.cs

Dikkat

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

Oluşturucu, LdapException(SerializationInfo, StreamingContext) belirtilen serileştirme verilerini ve akış bağlamını LdapException kullanarak sınıfının bir örneğini oluşturur.

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)

Parametreler

info
SerializationInfo

Parametreyi seri hale getirmek için gereken veriler.

context
StreamingContext

parametresiyle ilişkili seri hale getirilmiş akışın kaynağı ve hedefi.

Öznitelikler

Şunlara uygulanır

LdapException(String, Exception)

Kaynak:
LdapException.cs
Kaynak:
LdapException.cs
Kaynak:
LdapException.cs

Oluşturucu, LdapException(String, Exception) belirtilen iletiyi ve iç özel durumu kullanarak sınıfının bir örneğini LdapException oluşturur.

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)

Parametreler

message
String

Özel durum oluştuğunda istemciye görüntülenen ileti.

inner
Exception

Varsa, özel durumu oluşturan iç özel durum.

Şunlara uygulanır

LdapException(Int32, String, Exception)

Kaynak:
LdapException.cs
Kaynak:
LdapException.cs
Kaynak:
LdapException.cs

Oluşturucu, LdapException(Int32, String, Exception) belirtilen hata kodunu, iletiyi ve iç özel durumu kullanarak sınıfının bir örneğini LdapException oluşturur.

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)

Parametreler

errorCode
Int32

LDAP uygulaması tarafından döndürülen hata kodu.

message
String

Özel durum oluştuğunda istemciye görüntülenen ileti.

inner
Exception

Varsa, özel durumu oluşturan iç özel durum.

Şunlara uygulanır

LdapException(Int32, String, String)

Kaynak:
LdapException.cs
Kaynak:
LdapException.cs
Kaynak:
LdapException.cs

Oluşturucu, LdapException(Int32, String, String) belirtilen hata kodunu, iletiyi ve LDAP sunucusu hata iletisini kullanarak sınıfın bir örneğini LdapException oluşturur.

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)

Parametreler

errorCode
Int32

LDAP uygulaması tarafından döndürülen hata kodu.

message
String

Özel durum oluştuğunda istemciye görüntülenen ileti.

serverErrorMessage
String

LDAP sunucusu hata iletisi.

Şunlara uygulanır