BatchRequestBase<TOptions,TResponse> クラス

定義

すべての Batch サービス要求の基本クラス。 Batch サービス REST API への要求本文なしで特定の呼び出しを行うために必要な情報を表します。

public abstract class BatchRequestBase<TOptions,TResponse> : Microsoft.Azure.Batch.Protocol.IBatchRequest<TResponse> where TOptions : IOptions, new() where TResponse : IAzureOperationResponse
type BatchRequestBase<'Options, 'Response (requires 'Options :> IOptions and 'Options : (new : unit -> 'Options) and 'Response :> IAzureOperationResponse)> = class
    interface IBatchRequest<'Response (requires 'Response :> IAzureOperationResponse)>
    interface IBatchRequest
Public MustInherit Class BatchRequestBase(Of TOptions, TResponse)
Implements IBatchRequest(Of TResponse)

型パラメーター

TOptions

要求に関連付けられている要求本文の外部で渡されるパラメーターの型。

TResponse

要求から予期される応答の種類。

継承
BatchRequestBase<TOptions,TResponse>
派生
実装

コンストラクター

BatchRequestBase<TOptions,TResponse>(BatchServiceClient, CancellationToken)

BatchRequestBase<TOptions,TResponse> クラスの新しいインスタンスを初期化します。

プロパティ

CancellationToken

この CancellationToken に関連付けられた IBatchRequest を取得または設定します。

ClientRequestIdProvider

クライアント要求 ID を ClientRequestIdProvider 生成するためにこの要求で使用される を取得または設定します。

CustomHeaders

要求に使用されるヘッダーを取得します。

OperationContext

この IBatchRequestに関連付けられている操作コンテキストを取得します。

Options

要求に使用されるオプションを取得または設定します。

RestClient

この要求に使用される REST クライアントを取得します。

RetryPolicy

適用する再試行ポリシーを取得または設定します。 Null は、再試行が試行されていないことを意味します。

ServiceRequestFunc

Batch サービスを呼び出す を作成する関数を Task 取得または設定します。

Timeout

Batch サービスに対する要求のクライアント側のタイムアウトを取得または設定します。

メソッド

ExecuteRequestAsync()

要求を実行します。

ThrowIfRequestExecutionHasStarted()

要求の実行が開始された場合に例外をスローします。

明示的なインターフェイスの実装

IBatchRequest.Options

現在の要求に対して REST プロキシで必要なオプションを取得します。

適用対象