CloudBlobClient.ExecuteBatchAsync(BatchOperation, BlobRequestOptions, OperationContext, CancellationToken) 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 = null, Microsoft.Azure.Storage.OperationContext operationContext = null, System.Threading.CancellationToken cancellationToken = null);
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>>

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