ErrorResponseException コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ErrorResponseException() コンストラクターは、ErrorResponseException クラスのインスタンスを作成します。
オーバーロード
ErrorResponseException()
ErrorResponseException() コンストラクターは、ErrorResponseException クラスのインスタンスを作成します。
public:
ErrorResponseException();
public ErrorResponseException();
Public Sub New ()
適用対象
ErrorResponseException(DsmlErrorResponse)
ErrorResponseException(DsmlErrorResponse) コンストラクターは、指定された応答オブジェクトを使用して、ErrorResponseException クラスのインスタンスを作成します。 クライアントに表示される既定のメッセージは、"<errorResponse> 返されます。
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)
パラメーター
- response
- DsmlErrorResponse
DsmlErrorResponseに対応するサーバーによって返される<errorResponse> オブジェクト。
適用対象
ErrorResponseException(String)
ErrorResponseException(String) コンストラクターは、指定したメッセージを使用してErrorResponseException クラスのインスタンスを作成します。
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)
パラメーター
- message
- String
例外が発生したときにクライアントに表示されるメッセージ。
適用対象
ErrorResponseException(DsmlErrorResponse, String)
ErrorResponseException(DsmlErrorResponse, String) コンストラクターは、指定された応答オブジェクトとメッセージを使用して、ErrorResponseException クラスのインスタンスを作成します。
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)
パラメーター
- response
- DsmlErrorResponse
DsmlErrorResponseに対応するサーバーによって返される<errorResponse> オブジェクト。
- message
- String
例外が発生したときにクライアントに表示されるメッセージ。
適用対象
ErrorResponseException(SerializationInfo, StreamingContext)
ErrorResponseException(SerializationInfo, StreamingContext) コンストラクターは、指定したシリアル化データとストリーミング コンテキストを使用して、ErrorResponseException クラスのインスタンスを作成します。
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)
パラメーター
- info
- SerializationInfo
パラメーターをシリアル化するために必要なデータ。
- context
- StreamingContext
パラメーターに関連付けられているシリアル化ストリームのソースと宛先。
適用対象
ErrorResponseException(String, Exception)
ErrorResponseException(String, Exception) コンストラクターは、指定されたメッセージと内部例外を使用して、ErrorResponseException クラスのインスタンスを作成します。
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)
パラメーター
- message
- String
例外が発生したときにクライアントに表示されるメッセージ。
- inner
- Exception
例外をスローした InnerException (存在する場合)。
適用対象
ErrorResponseException(DsmlErrorResponse, String, Exception)
ErrorResponseException(DsmlErrorResponse, String, Exception) コンストラクターは、指定した応答オブジェクト、メッセージ、および内部例外を使用して、ErrorResponseException クラスのインスタンスを作成します。
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)
パラメーター
- response
- DsmlErrorResponse
DsmlErrorResponseに対応するサーバーによって返される<errorResponse> オブジェクト。
- message
- String
例外が発生したときにクライアントに表示されるメッセージ。
- inner
- Exception
例外をスローした InnerException (存在する場合)。