Compartilhar via


CloudBlobClient.ExecuteBatchAsync Método

Definição

Executa uma solicitação de operação em lote, retornando as respostas para cada suboperação.

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

Parâmetros

batchOperation
BatchOperation

O BatchOperation com o conjunto de suboperações a serem incluídas na solicitação.

requestOptions
BlobRequestOptions

Um objeto BlobRequestOptions que especifica opções adicionais para a solicitação.

operationContext
OperationContext

Um objeto OperationContext que representa o contexto da operação atual.

cancellationToken
CancellationToken

Um CancellationToken a ser observado ao aguardar a conclusão da tarefa.

Retornos

Aplica-se a