Share via


TransferManager Class

Definition

The main class for starting and controlling all types of transfers.

public class TransferManager : IAsyncDisposable
type TransferManager = class
    interface IAsyncDisposable
Public Class TransferManager
Implements IAsyncDisposable
Inheritance
TransferManager
Implements

Constructors

TransferManager()

Protected constructor for mocking.

TransferManager(TransferManagerOptions)

Constructor to create a TransferManager.

Methods

GetResumableTransfersAsync()

Lists all the transfers stored in the checkpointer that can be resumed.

GetTransfersAsync(DataTransferStatus[])

Gets the current transfers stored in the TransferManager.

PauseTransferIfRunningAsync(String, CancellationToken)

Attempts to pause the transfer of the respective id.

ResumeAllTransfersAsync(DataTransferOptions, CancellationToken)

Resumes all the transfers stored in the checkpointer that can be resumed.

ResumeTransferAsync(String, DataTransferOptions, CancellationToken)

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

StartTransferAsync(StorageResource, StorageResource, DataTransferOptions, CancellationToken)

Starts a transfer from the given source resource to the given destination resource.

Explicit Interface Implementations

IAsyncDisposable.DisposeAsync()

Disposes.

Applies to