ErrorResponseException Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
ErrorResponseException() Konstruktor membuat instans ErrorResponseException kelas .
Overload
ErrorResponseException()
ErrorResponseException() Konstruktor membuat instans ErrorResponseException kelas .
public:
ErrorResponseException();
public ErrorResponseException ();
Public Sub New ()
Berlaku untuk
ErrorResponseException(DsmlErrorResponse)
ErrorResponseException(DsmlErrorResponse) Konstruktor membuat instans ErrorResponseException kelas menggunakan objek respons yang ditentukan. Pesan default yang ditampilkan kepada klien adalah "<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)
Parameter
- response
- DsmlErrorResponse
Objek DsmlErrorResponse yang dikembalikan oleh server yang sesuai dengan <errorResponse>
.
Berlaku untuk
ErrorResponseException(String)
ErrorResponseException(String) Konstruktor membuat instans ErrorResponseException kelas menggunakan pesan yang ditentukan.
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)
Parameter
- message
- String
Pesan ditampilkan kepada klien ketika pengecualian terjadi.
Berlaku untuk
ErrorResponseException(DsmlErrorResponse, String)
ErrorResponseException(DsmlErrorResponse, String) Konstruktor membuat instans ErrorResponseException kelas menggunakan objek respons dan pesan yang ditentukan.
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)
Parameter
- response
- DsmlErrorResponse
Objek DsmlErrorResponse yang dikembalikan oleh server yang sesuai dengan <errorResponse>
.
- message
- String
Pesan ditampilkan kepada klien ketika pengecualian terjadi.
Berlaku untuk
ErrorResponseException(SerializationInfo, StreamingContext)
ErrorResponseException(SerializationInfo, StreamingContext) Konstruktor membuat instans ErrorResponseException kelas menggunakan data serialisasi dan konteks streaming yang ditentukan.
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)
Parameter
- info
- SerializationInfo
Data yang diperlukan untuk membuat serial parameter.
- context
- StreamingContext
Sumber dan tujuan aliran berseri yang terkait dengan parameter .
Berlaku untuk
ErrorResponseException(String, Exception)
ErrorResponseException(String, Exception) Konstruktor membuat instans ErrorResponseException kelas menggunakan pesan dan pengecualian dalam yang ditentukan.
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)
Parameter
- message
- String
Pesan ditampilkan kepada klien ketika pengecualian terjadi.
- inner
- Exception
, InnerExceptionjika ada, yang melemparkan pengecualian.
Berlaku untuk
ErrorResponseException(DsmlErrorResponse, String, Exception)
ErrorResponseException(DsmlErrorResponse, String, Exception) Konstruktor membuat instans ErrorResponseException kelas menggunakan objek respons, pesan, dan pengecualian dalam yang ditentukan.
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)
Parameter
- response
- DsmlErrorResponse
Objek DsmlErrorResponse yang dikembalikan oleh server yang sesuai dengan <errorResponse>
.
- message
- String
Pesan ditampilkan kepada klien ketika pengecualian terjadi.
- inner
- Exception
, InnerExceptionjika ada, yang melemparkan pengecualian.