共用方式為


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.DataTransfer> ResumeTransferAsync (string transferId, Azure.Storage.DataMovement.DataTransferOptions transferOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ResumeTransferAsync : string * Azure.Storage.DataMovement.DataTransferOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer>
override this.ResumeTransferAsync : string * Azure.Storage.DataMovement.DataTransferOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer>
Public Overridable Function ResumeTransferAsync (transferId As String, Optional transferOptions As DataTransferOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataTransfer)

Parameters

transferId
String

The transfer ID of the transfer attempting to be resumed.

transferOptions
DataTransferOptions

Options specific to this transfer.

cancellationToken
CancellationToken

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

Returns

Returns a DataTransfer for tracking this transfer.

Applies to