你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IBatchRequest<TResponse> 接口

定义

表示对具有特定响应类型的 Batch 服务的请求。

public interface IBatchRequest<TResponse> : Microsoft.Azure.Batch.Protocol.IBatchRequest
type IBatchRequest<'Response> = interface
    interface IBatchRequest
Public Interface IBatchRequest(Of TResponse)
Implements IBatchRequest

类型参数

TResponse

Batch 服务返回的响应的类型。

派生
实现

属性

CancellationToken

获取或设置与此 IBatchRequest 关联的 CancellationToken

(继承自 IBatchRequest)
ClientRequestIdProvider

获取或设置 ClientRequestIdProvider 此请求用于生成客户端请求 ID 的 。

(继承自 IBatchRequest)
OperationContext

获取与此 IBatchRequest关联的操作上下文。

(继承自 IBatchRequest)
Options

获取当前请求的 REST 代理所需的选项。

(继承自 IBatchRequest)
RestClient

获取将用于此请求的 REST 客户端。

(继承自 IBatchRequest)
RetryPolicy

获取或设置要应用的重试策略。 Null 表示不会尝试重试。

(继承自 IBatchRequest)
Timeout

获取或设置对 Batch 服务的请求的客户端超时。

(继承自 IBatchRequest)

方法

ExecuteRequestAsync()

执行请求。

适用于