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

CloudBlobClient.ExecuteBatchAsync 方法

定义

执行批处理操作请求,返回每个子操作的响应。

public System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Storage.Blob.BlobBatchSubOperationResponse>> ExecuteBatchAsync (Microsoft.Azure.Storage.Blob.BatchOperation batchOperation, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default, Microsoft.Azure.Storage.OperationContext operationContext = default, System.Threading.CancellationToken cancellationToken = default);
member this.ExecuteBatchAsync : Microsoft.Azure.Storage.Blob.BatchOperation * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Storage.Blob.BlobBatchSubOperationResponse>>
Public Function ExecuteBatchAsync (batchOperation As BatchOperation, Optional requestOptions As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of BlobBatchSubOperationResponse))

参数

batchOperation
BatchOperation

具有 BatchOperation 要包含在请求中的子操作集的 。

requestOptions
BlobRequestOptions

一个 BlobRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

适用于