LdapException Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
El LdapException() constructor crea una instancia de la LdapException clase .
Sobrecargas
| Nombre | Description |
|---|---|
| LdapException() |
El LdapException() constructor crea una instancia de la LdapException clase . |
| LdapException(Int32) |
El LdapException(Int32) constructor crea una instancia de la LdapException clase utilizando el código de error especificado. El mensaje predeterminado que se muestra al cliente es "Error de comunicaciones con el servidor LDAP". |
| LdapException(String) |
El LdapException(String) constructor crea una instancia de la LdapException clase utilizando el mensaje especificado. |
| LdapException(Int32, String) |
El LdapException(Int32, String) constructor crea una instancia de la LdapException clase utilizando el código de error y el mensaje especificados. |
| LdapException(SerializationInfo, StreamingContext) |
Obsoletos.
El LdapException(SerializationInfo, StreamingContext) constructor crea una instancia de la LdapException clase utilizando los datos de serialización y el contexto de streaming especificados. |
| LdapException(String, Exception) |
El LdapException(String, Exception) constructor crea una instancia de la LdapException clase utilizando el mensaje especificado y la excepción interna. |
| LdapException(Int32, String, Exception) |
El LdapException(Int32, String, Exception) constructor crea una instancia de la LdapException clase utilizando el código de error, el mensaje y la excepción interna especificados. |
| LdapException(Int32, String, String) |
El LdapException(Int32, String, String) constructor crea una instancia de la LdapException clase utilizando el código de error, el mensaje y el mensaje de error del servidor LDAP especificados. |
LdapException()
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
El LdapException() constructor crea una instancia de la LdapException clase .
public:
LdapException();
public LdapException();
Public Sub New ()
Se aplica a
LdapException(Int32)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
El LdapException(Int32) constructor crea una instancia de la LdapException clase utilizando el código de error especificado. El mensaje predeterminado que se muestra al cliente es "Error de comunicaciones con el servidor 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)
Parámetros
- errorCode
- Int32
Código de error devuelto por la implementación ldap.
Se aplica a
LdapException(String)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
El LdapException(String) constructor crea una instancia de la LdapException clase utilizando el mensaje especificado.
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)
Parámetros
- message
- String
Mensaje que se muestra al cliente cuando se produce la excepción.
Se aplica a
LdapException(Int32, String)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
El LdapException(Int32, String) constructor crea una instancia de la LdapException clase utilizando el código de error y el mensaje especificados.
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)
Parámetros
- errorCode
- Int32
Código de error devuelto por la implementación ldap.
- message
- String
Mensaje que se muestra al cliente cuando se produce la excepción.
Se aplica a
LdapException(SerializationInfo, StreamingContext)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
Precaución
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
El LdapException(SerializationInfo, StreamingContext) constructor crea una instancia de la LdapException clase utilizando los datos de serialización y el contexto de streaming especificados.
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)
Parámetros
- info
- SerializationInfo
Datos necesarios para serializar el parámetro.
- context
- StreamingContext
Origen y destino de la secuencia serializada asociada al parámetro .
- Atributos
Se aplica a
LdapException(String, Exception)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
El LdapException(String, Exception) constructor crea una instancia de la LdapException clase utilizando el mensaje especificado y la excepción interna.
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)
Parámetros
- message
- String
Mensaje que se muestra al cliente cuando se produce la excepción.
- inner
- Exception
Excepción interna, si existe, que produjo la excepción.
Se aplica a
LdapException(Int32, String, Exception)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
El LdapException(Int32, String, Exception) constructor crea una instancia de la LdapException clase utilizando el código de error, el mensaje y la excepción interna especificados.
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)
Parámetros
- errorCode
- Int32
Código de error devuelto por la implementación ldap.
- message
- String
Mensaje que se muestra al cliente cuando se produce la excepción.
- inner
- Exception
Excepción interna, si existe, que produjo la excepción.
Se aplica a
LdapException(Int32, String, String)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
El LdapException(Int32, String, String) constructor crea una instancia de la LdapException clase utilizando el código de error, el mensaje y el mensaje de error del servidor LDAP especificados.
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)
Parámetros
- errorCode
- Int32
Código de error devuelto por la implementación ldap.
- message
- String
Mensaje que se muestra al cliente cuando se produce la excepción.
- serverErrorMessage
- String
Mensaje de error del servidor LDAP.