BlobBatchClient.SubmitBatchAsync Methode

Definition

Übermitteln Sie eine BlobBatch von Untervorgängen.

public virtual System.Threading.Tasks.Task<Azure.Response> SubmitBatchAsync (Azure.Storage.Blobs.Specialized.BlobBatch batch, bool throwOnAnyFailure = false, System.Threading.CancellationToken cancellationToken = default);
abstract member SubmitBatchAsync : Azure.Storage.Blobs.Specialized.BlobBatch * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SubmitBatchAsync : Azure.Storage.Blobs.Specialized.BlobBatch * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SubmitBatchAsync (batch As BlobBatch, Optional throwOnAnyFailure As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameter

batch
BlobBatch

Ein BlobBatch von Untervorgängen.

throwOnAnyFailure
Boolean

Ein -Wert, der angibt, ob Ausnahmen für Untervorgangsfehler ausgelöst werden sollen.

cancellationToken
CancellationToken

Optional CancellationToken zur Weitergabe von Benachrichtigungen, dass der Vorgang abgebrochen werden soll.

Gibt zurück

Ein Response bei erfolgreicher Übermittlung.

Hinweise

Ein RequestFailedException wird ausgelöst, wenn ein Fehler beim Übermitteln des Batches auftritt. Fehler einzelner Untervorgänge lösen nur aus, wenn throwOnAnyFailure true ist und in einen AggregateExceptionumschlossen werden.

Gilt für: