CloudBlobClient.ExecuteBatchAsync Method

Definition

Performs a batched operation request, returning the responses for each suboperation.

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))

Parameters

batchOperation
BatchOperation

The BatchOperation with the set of suboperations to include in the request.

requestOptions
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

Applies to