你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TransferManager.ResumeTransferAsync Method

Definition

Overloads

ResumeTransferAsync(String, DataTransferOptions, CancellationToken)

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

ResumeTransferAsync(String, TransferOptions, CancellationToken)

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

ResumeTransferAsync(String, DataTransferOptions, CancellationToken)

Source:
TransferManager.cs

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

ResumeTransferAsync(String, TransferOptions, CancellationToken)

Source:
TransferManager.cs

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