Share via


StorageResourceItem.CompleteTransferAsync(Boolean, CancellationToken) 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, System.Threading.CancellationToken cancellationToken = default);
abstract member CompleteTransferAsync : bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Friend MustOverride Function CompleteTransferAsync (overwrite As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

overwrite
Boolean

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

cancellationToken
CancellationToken

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

Returns

The Task which Commits the list of ids

Applies to