RequestFailedException コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
RequestFailedException(Response) |
指定した応答から取得した RequestFailedException エラー メッセージ、HTTP 状態コード、およびエラー コードを使用して、 クラスの新しいインスタンスを初期化します。 |
RequestFailedException(String) |
指定したエラー メッセージを使用して、RequestFailedException クラスの新しいインスタンスを初期化します。 |
RequestFailedException(Response, Exception) |
指定した応答から取得した RequestFailedException エラー メッセージ、HTTP 状態コード、およびエラー コードを使用して、 クラスの新しいインスタンスを初期化します。 |
RequestFailedException(SerializationInfo, StreamingContext) |
シリアル化したデータを使用して、Exception クラスの新しいインスタンスを初期化します。 |
RequestFailedException(String, Exception) |
指定したエラー メッセージ、HTTP 状態コード、およびこの例外の RequestFailedException 原因である内部例外への参照を使用して、 クラスの新しいインスタンスを初期化します。 |
RequestFailedException(Response, Exception, RequestFailedDetailsParser) |
指定した応答から取得した RequestFailedException エラー メッセージ、HTTP 状態コード、およびエラー コードを使用して、 クラスの新しいインスタンスを初期化します。 |
RequestFailedException(Response)
指定した応答から取得した RequestFailedException エラー メッセージ、HTTP 状態コード、およびエラー コードを使用して、 クラスの新しいインスタンスを初期化します。
public RequestFailedException (Azure.Response response);
new Azure.RequestFailedException : Azure.Response -> Azure.RequestFailedException
Public Sub New (response As Response)
パラメーター
- response
- Response
エラーの詳細を取得する応答。
適用対象
RequestFailedException(String)
指定したエラー メッセージを使用して、RequestFailedException クラスの新しいインスタンスを初期化します。
public RequestFailedException (string message);
new Azure.RequestFailedException : string -> Azure.RequestFailedException
Public Sub New (message As String)
パラメーター
- message
- String
エラーを説明するメッセージ。
適用対象
RequestFailedException(Response, Exception)
指定した応答から取得した RequestFailedException エラー メッセージ、HTTP 状態コード、およびエラー コードを使用して、 クラスの新しいインスタンスを初期化します。
public RequestFailedException (Azure.Response response, Exception? innerException);
new Azure.RequestFailedException : Azure.Response * Exception -> Azure.RequestFailedException
Public Sub New (response As Response, innerException As Exception)
パラメーター
- response
- Response
エラーの詳細を取得する応答。
- innerException
- Exception
新しい RequestFailedExceptionに関連付ける内部例外。
適用対象
RequestFailedException(SerializationInfo, StreamingContext)
シリアル化したデータを使用して、Exception クラスの新しいインスタンスを初期化します。
protected RequestFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Azure.RequestFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Azure.RequestFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
パラメーター
- info
- SerializationInfo
スローされている例外に関するシリアル化済みオブジェクト データを保持している SerializationInfo。
- context
- StreamingContext
転送元または転送先についてのコンテキスト情報を含む StreamingContext です。
例外
info
が null
です。
クラス名が null
であるか、HResult が 0 です。
適用対象
RequestFailedException(String, Exception)
指定したエラー メッセージ、HTTP 状態コード、およびこの例外の RequestFailedException 原因である内部例外への参照を使用して、 クラスの新しいインスタンスを初期化します。
public RequestFailedException (string message, Exception? innerException);
new Azure.RequestFailedException : string * Exception -> Azure.RequestFailedException
Public Sub New (message As String, innerException As Exception)
パラメーター
- message
- String
例外の原因を説明するエラー メッセージ。
- innerException
- Exception
現在の例外の原因である例外、または内部例外を指定しない場合は null 参照 (Visual Basic では Nothing) です。
適用対象
RequestFailedException(Response, Exception, RequestFailedDetailsParser)
指定した応答から取得した RequestFailedException エラー メッセージ、HTTP 状態コード、およびエラー コードを使用して、 クラスの新しいインスタンスを初期化します。
public RequestFailedException (Azure.Response response, Exception? innerException, Azure.Core.RequestFailedDetailsParser? detailsParser);
new Azure.RequestFailedException : Azure.Response * Exception * Azure.Core.RequestFailedDetailsParser -> Azure.RequestFailedException
Public Sub New (response As Response, innerException As Exception, detailsParser As RequestFailedDetailsParser)
パラメーター
- response
- Response
エラーの詳細を取得する応答。
- innerException
- Exception
新しい RequestFailedExceptionに関連付ける内部例外。
- detailsParser
- RequestFailedDetailsParser
応答コンテンツの解析に使用するパーサー。
適用対象
Azure SDK for .NET