ErrorResponseException Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
ErrorResponseException()Konstruktor tworzy wystąpienie ErrorResponseException klasy.
Przeciążenia
ErrorResponseException()
ErrorResponseException()Konstruktor tworzy wystąpienie ErrorResponseException klasy.
public:
ErrorResponseException();
public ErrorResponseException ();
Public Sub New ()
Dotyczy
ErrorResponseException(DsmlErrorResponse)
ErrorResponseException(DsmlErrorResponse)Konstruktor tworzy wystąpienie ErrorResponseException klasy przy użyciu określonego obiektu odpowiedzi. Komunikat domyślny wyświetlany dla klienta to " < zwrócono > Returns".
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
DsmlErrorResponseObiekt zwrócony przez serwer, który odnosi się do <errorResponse> .
Dotyczy
ErrorResponseException(String)
ErrorResponseException(String)Konstruktor tworzy wystąpienie ErrorResponseException klasy przy użyciu określonego komunikatu.
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
Komunikat wyświetlany dla klienta po wystąpieniu wyjątku.
Dotyczy
ErrorResponseException(DsmlErrorResponse, String)
ErrorResponseException(DsmlErrorResponse, String)Konstruktor tworzy wystąpienie ErrorResponseException klasy przy użyciu określonego obiektu odpowiedzi i komunikatu.
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
DsmlErrorResponseObiekt zwrócony przez serwer, który odnosi się do <errorResponse> .
- message
- String
Komunikat wyświetlany dla klienta po wystąpieniu wyjątku.
Dotyczy
ErrorResponseException(SerializationInfo, StreamingContext)
ErrorResponseException(SerializationInfo, StreamingContext)Konstruktor tworzy wystąpienie ErrorResponseException klasy przy użyciu określonych danych serializacji i kontekstu przesyłania strumieniowego.
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
Dane wymagane do serializacji parametru.
- context
- StreamingContext
Źródło i miejsce docelowe serializowanego strumienia skojarzonego z parametrem.
Dotyczy
ErrorResponseException(String, Exception)
ErrorResponseException(String, Exception)Konstruktor tworzy wystąpienie ErrorResponseException klasy przy użyciu określonego komunikatu i wewnętrznego wyjątku.
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
Komunikat wyświetlany dla klienta po wystąpieniu wyjątku.
- inner
- Exception
InnerException(Jeśli istnieje), która wywołała wyjątek.
Dotyczy
ErrorResponseException(DsmlErrorResponse, String, Exception)
ErrorResponseException(DsmlErrorResponse, String, Exception)Konstruktor tworzy wystąpienie ErrorResponseException klasy przy użyciu określonego obiektu odpowiedzi, komunikatu i wewnętrznego wyjątku.
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
DsmlErrorResponseObiekt zwrócony przez serwer, który odnosi się do <errorResponse> .
- message
- String
Komunikat wyświetlany dla klienta po wystąpieniu wyjątku.
- inner
- Exception
InnerException(Jeśli istnieje), która wywołała wyjątek.