Udostępnij za pośrednictwem


StorageResourceItem.CompleteTransferAsync Method

Definition

If the operation requires any ending transfers (e.g. Committing a block list, flushing crypto streams)

protected internal abstract System.Threading.Tasks.Task CompleteTransferAsync (bool overwrite, Azure.Storage.DataMovement.StorageResourceCompleteTransferOptions completeTransferOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CompleteTransferAsync : bool * Azure.Storage.DataMovement.StorageResourceCompleteTransferOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Friend MustOverride Function CompleteTransferAsync (overwrite As Boolean, Optional completeTransferOptions As StorageResourceCompleteTransferOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

overwrite
Boolean

If set to true, will overwrite the blob if exists.

completeTransferOptions
StorageResourceCompleteTransferOptions

Optional parameters.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

The Task which Commits the list of ids

Applies to