ErrorResponseException Konstruktory

Definice

Konstruktor ErrorResponseException() vytvoří instanci ErrorResponseException třídy.

Přetížení

Name Description
ErrorResponseException()

Konstruktor ErrorResponseException() vytvoří instanci ErrorResponseException třídy.

ErrorResponseException(DsmlErrorResponse)

Konstruktor ErrorResponseException(DsmlErrorResponse) vytvoří instanci ErrorResponseException třídy pomocí zadaného objektu odpovědi. Výchozí zpráva zobrazená klientovi je errorResponse<> vrácena.

ErrorResponseException(String)

Konstruktor ErrorResponseException(String) vytvoří instanci ErrorResponseException třídy pomocí zadané zprávy.

ErrorResponseException(DsmlErrorResponse, String)

Konstruktor ErrorResponseException(DsmlErrorResponse, String) vytvoří instanci ErrorResponseException třídy pomocí zadaného objektu odpovědi a zprávy.

ErrorResponseException(SerializationInfo, StreamingContext)

Konstruktor ErrorResponseException(SerializationInfo, StreamingContext) vytvoří instanci ErrorResponseException třídy pomocí zadaných dat serializace a kontextu streamování.

ErrorResponseException(String, Exception)

Konstruktor ErrorResponseException(String, Exception) vytvoří instanci ErrorResponseException třídy pomocí zadané zprávy a vnitřní výjimky.

ErrorResponseException(DsmlErrorResponse, String, Exception)

Konstruktor ErrorResponseException(DsmlErrorResponse, String, Exception) vytvoří instanci třídy pomocí zadaného ErrorResponseException objektu odpovědi, zprávy a vnitřní výjimky.

ErrorResponseException()

Konstruktor ErrorResponseException() vytvoří instanci ErrorResponseException třídy.

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

Platí pro

ErrorResponseException(DsmlErrorResponse)

Konstruktor ErrorResponseException(DsmlErrorResponse) vytvoří instanci ErrorResponseException třídy pomocí zadaného objektu odpovědi. Výchozí zpráva zobrazená klientovi je errorResponse<> vrácena.

public:
 ErrorResponseException(System::DirectoryServices::Protocols::DsmlErrorResponse ^ response);
public ErrorResponseException(System.DirectoryServices.Protocols.DsmlErrorResponse response);
new System.DirectoryServices.Protocols.ErrorResponseException : System.DirectoryServices.Protocols.DsmlErrorResponse -> System.DirectoryServices.Protocols.ErrorResponseException
Public Sub New (response As DsmlErrorResponse)

Parametry

response
DsmlErrorResponse

Objekt DsmlErrorResponse vrácený serverem, který odpovídá objektu <errorResponse>.

Platí pro

ErrorResponseException(String)

Konstruktor ErrorResponseException(String) vytvoří instanci ErrorResponseException třídy pomocí zadané zprávy.

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

Parametry

message
String

Zpráva zobrazená klientovi, když dojde k výjimce.

Platí pro

ErrorResponseException(DsmlErrorResponse, String)

Konstruktor ErrorResponseException(DsmlErrorResponse, String) vytvoří instanci ErrorResponseException třídy pomocí zadaného objektu odpovědi a zprávy.

public:
 ErrorResponseException(System::DirectoryServices::Protocols::DsmlErrorResponse ^ response, System::String ^ message);
public ErrorResponseException(System.DirectoryServices.Protocols.DsmlErrorResponse response, string message);
new System.DirectoryServices.Protocols.ErrorResponseException : System.DirectoryServices.Protocols.DsmlErrorResponse * string -> System.DirectoryServices.Protocols.ErrorResponseException
Public Sub New (response As DsmlErrorResponse, message As String)

Parametry

response
DsmlErrorResponse

Objekt DsmlErrorResponse vrácený serverem, který odpovídá objektu <errorResponse>.

message
String

Zpráva zobrazená klientovi, když dojde k výjimce.

Platí pro

ErrorResponseException(SerializationInfo, StreamingContext)

Konstruktor ErrorResponseException(SerializationInfo, StreamingContext) vytvoří instanci ErrorResponseException třídy pomocí zadaných dat serializace a kontextu streamování.

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

Parametry

info
SerializationInfo

Data potřebná k serializaci parametru.

context
StreamingContext

Zdroj a cíl serializovaného datového proudu přidruženého k parametru.

Platí pro

ErrorResponseException(String, Exception)

Konstruktor ErrorResponseException(String, Exception) vytvoří instanci ErrorResponseException třídy pomocí zadané zprávy a vnitřní výjimky.

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

Parametry

message
String

Zpráva zobrazená klientovi, když dojde k výjimce.

inner
Exception

Pokud InnerExceptionnějaké, to vyvolalo výjimku.

Platí pro

ErrorResponseException(DsmlErrorResponse, String, Exception)

Konstruktor ErrorResponseException(DsmlErrorResponse, String, Exception) vytvoří instanci třídy pomocí zadaného ErrorResponseException objektu odpovědi, zprávy a vnitřní výjimky.

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

Parametry

response
DsmlErrorResponse

Objekt DsmlErrorResponse vrácený serverem, který odpovídá objektu <errorResponse>.

message
String

Zpráva zobrazená klientovi, když dojde k výjimce.

inner
Exception

Pokud InnerExceptionnějaké, to vyvolalo výjimku.

Platí pro