Compartir a través de


TransferManager.ResumeTransferAsync Method

Definition

Resumes a transfer that has been paused or is in a completed state with failed or skipped transfers.

public virtual System.Threading.Tasks.Task<Azure.Storage.DataMovement.TransferOperation> ResumeTransferAsync(string transferId, Azure.Storage.DataMovement.TransferOptions transferOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ResumeTransferAsync : string * Azure.Storage.DataMovement.TransferOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Storage.DataMovement.TransferOperation>
override this.ResumeTransferAsync : string * Azure.Storage.DataMovement.TransferOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Storage.DataMovement.TransferOperation>
Public Overridable Function ResumeTransferAsync (transferId As String, Optional transferOptions As TransferOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TransferOperation)

Parameters

transferId
String

The transfer ID of the transfer attempting to be resumed.

transferOptions
TransferOptions

Options specific to this transfer.

cancellationToken
CancellationToken

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

Returns

Returns a TransferOperation for tracking this transfer.

Applies to