ErrorResponseException Konstruktorer

Definition

Konstruktorn ErrorResponseException() skapar en instans av ErrorResponseException klassen.

Överlagringar

Name Description
ErrorResponseException()

Konstruktorn ErrorResponseException() skapar en instans av ErrorResponseException klassen.

ErrorResponseException(DsmlErrorResponse)

Konstruktorn ErrorResponseException(DsmlErrorResponse) skapar en instans av ErrorResponseException klassen med det angivna svarsobjektet. Standardmeddelandet som visas för klienten är "<errorResponse> returned".

ErrorResponseException(String)

Konstruktorn ErrorResponseException(String) skapar en instans av ErrorResponseException klassen med det angivna meddelandet.

ErrorResponseException(DsmlErrorResponse, String)

Konstruktorn ErrorResponseException(DsmlErrorResponse, String) skapar en instans av ErrorResponseException klassen med det angivna svarsobjektet och meddelandet.

ErrorResponseException(SerializationInfo, StreamingContext)

Konstruktorn ErrorResponseException(SerializationInfo, StreamingContext) skapar en instans av ErrorResponseException klassen med angivna serialiseringsdata och strömningskontext.

ErrorResponseException(String, Exception)

Konstruktorn ErrorResponseException(String, Exception) skapar en instans av ErrorResponseException klassen med det angivna meddelandet och det inre undantaget.

ErrorResponseException(DsmlErrorResponse, String, Exception)

Konstruktorn ErrorResponseException(DsmlErrorResponse, String, Exception) skapar en instans av ErrorResponseException klassen med det angivna svarsobjektet, meddelandet och det inre undantaget.

ErrorResponseException()

Konstruktorn ErrorResponseException() skapar en instans av ErrorResponseException klassen.

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

Gäller för

ErrorResponseException(DsmlErrorResponse)

Konstruktorn ErrorResponseException(DsmlErrorResponse) skapar en instans av ErrorResponseException klassen med det angivna svarsobjektet. Standardmeddelandet som visas för klienten är "<errorResponse> returned".

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)

Parametrar

response
DsmlErrorResponse

Objektet DsmlErrorResponse som returneras av servern som motsvarar <errorResponse>.

Gäller för

ErrorResponseException(String)

Konstruktorn ErrorResponseException(String) skapar en instans av ErrorResponseException klassen med det angivna meddelandet.

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)

Parametrar

message
String

Meddelandet visas för klienten när undantaget inträffar.

Gäller för

ErrorResponseException(DsmlErrorResponse, String)

Konstruktorn ErrorResponseException(DsmlErrorResponse, String) skapar en instans av ErrorResponseException klassen med det angivna svarsobjektet och meddelandet.

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)

Parametrar

response
DsmlErrorResponse

Objektet DsmlErrorResponse som returneras av servern som motsvarar <errorResponse>.

message
String

Meddelandet visas för klienten när undantaget inträffar.

Gäller för

ErrorResponseException(SerializationInfo, StreamingContext)

Konstruktorn ErrorResponseException(SerializationInfo, StreamingContext) skapar en instans av ErrorResponseException klassen med angivna serialiseringsdata och strömningskontext.

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)

Parametrar

info
SerializationInfo

Data som krävs för att serialisera parametern.

context
StreamingContext

Källan och målet för den serialiserade dataström som är associerad med parametern.

Gäller för

ErrorResponseException(String, Exception)

Konstruktorn ErrorResponseException(String, Exception) skapar en instans av ErrorResponseException klassen med det angivna meddelandet och det inre undantaget.

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)

Parametrar

message
String

Meddelandet visas för klienten när undantaget inträffar.

inner
Exception

Den InnerException, om någon, som utlöste undantaget.

Gäller för

ErrorResponseException(DsmlErrorResponse, String, Exception)

Konstruktorn ErrorResponseException(DsmlErrorResponse, String, Exception) skapar en instans av ErrorResponseException klassen med det angivna svarsobjektet, meddelandet och det inre undantaget.

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)

Parametrar

response
DsmlErrorResponse

Objektet DsmlErrorResponse som returneras av servern som motsvarar <errorResponse>.

message
String

Meddelandet visas för klienten när undantaget inträffar.

inner
Exception

Den InnerException, om någon, som utlöste undantaget.

Gäller för