DirectoryException Construtores

Definição

O construtor DirectoryException() cria uma instância da classe DirectoryException.The DirectoryException() constructor creates an instance of the DirectoryException class.

Sobrecargas

DirectoryException()

O construtor DirectoryException() cria uma instância da classe DirectoryException.The DirectoryException() constructor creates an instance of the DirectoryException class.

DirectoryException(String)

O construtor DirectoryException(String) cria uma instância da classe DirectoryException usando o parâmetro especificado.The DirectoryException(String) constructor creates an instance of the DirectoryException class using the specified parameter.

DirectoryException(SerializationInfo, StreamingContext)

O construtor DirectoryException(SerializationInfo, StreamingContext) cria uma instância da classe DirectoryException usando as informações de serialização e de contexto de streaming especificadas.The DirectoryException(SerializationInfo, StreamingContext) constructor creates an instance of the DirectoryException class using the specified serialization information and streaming contextual information.

DirectoryException(String, Exception)

O construtor DirectoryException(String, Exception) cria uma instância da classe DirectoryException usando os parâmetros especificados.The DirectoryException(String, Exception) constructor creates an instance of the DirectoryException class using the specified parameters.

DirectoryException()

O construtor DirectoryException() cria uma instância da classe DirectoryException.The DirectoryException() constructor creates an instance of the DirectoryException class.

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

Aplica-se a

DirectoryException(String)

O construtor DirectoryException(String) cria uma instância da classe DirectoryException usando o parâmetro especificado.The DirectoryException(String) constructor creates an instance of the DirectoryException class using the specified parameter.

public:
 DirectoryException(System::String ^ message);
public DirectoryException (string message);
new System.DirectoryServices.Protocols.DirectoryException : string -> System.DirectoryServices.Protocols.DirectoryException
Public Sub New (message As String)

Parâmetros

message
String

A mensagem exibida para o cliente quando a exceção é gerada.The message displayed to the client when the exception is thrown.

Aplica-se a

DirectoryException(SerializationInfo, StreamingContext)

O construtor DirectoryException(SerializationInfo, StreamingContext) cria uma instância da classe DirectoryException usando as informações de serialização e de contexto de streaming especificadas.The DirectoryException(SerializationInfo, StreamingContext) constructor creates an instance of the DirectoryException class using the specified serialization information and streaming contextual information.

protected:
 DirectoryException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DirectoryException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.Protocols.DirectoryException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.DirectoryException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parâmetros

info
SerializationInfo

Os dados do objeto serializado sobre a exceção sendo gerada.The serialized object data about the exception being thrown.

context
StreamingContext

As informações contextuais sobre a origem ou o destino.The contextual information about the source or destination.

Aplica-se a

DirectoryException(String, Exception)

O construtor DirectoryException(String, Exception) cria uma instância da classe DirectoryException usando os parâmetros especificados.The DirectoryException(String, Exception) constructor creates an instance of the DirectoryException class using the specified parameters.

public:
 DirectoryException(System::String ^ message, Exception ^ inner);
public DirectoryException (string message, Exception inner);
new System.DirectoryServices.Protocols.DirectoryException : string * Exception -> System.DirectoryServices.Protocols.DirectoryException
Public Sub New (message As String, inner As Exception)

Parâmetros

message
String

A mensagem exibida para o cliente quando a exceção é gerada.The message displayed to the client when the exception is thrown.

inner
Exception

O InnerException, se houver, que gerou a exceção.The InnerException, if any, that threw the exception.

Aplica-se a