Udostępnij za pośrednictwem


TransferManagerOptions Class

Definition

Options for TransferManager that apply to all transfers.

public class TransferManagerOptions
type TransferManagerOptions = class
Public Class TransferManagerOptions
Inheritance
TransferManagerOptions

Constructors

TransferManagerOptions()

Properties

CheckpointerOptions

Optional. Defines the options for creating a checkpointer which is used for saving transfer state so transfers can be resumed.

Diagnostics

Gets the transfer manager diagnostic options.

ErrorHandling

Optional. Sets the way errors during a transfer will be handled. Default is StopOnAnyFailure.

MaximumConcurrency

The maximum number of workers that may be used in a parallel transfer.

ResumeProviders

Resource providers for the transfer manager to use in resuming a transfer. Expects one provider for each storage provider in use. E.g. when transfering between local storage and Azure Blob Storage, you can set this value to the following:

new List<StorageResourceProvider>()
{
    new LocalFilesStorageResourceProvider(),
    new BlobsStorageResourceProvider()
};

More information is available about instantiating these and other StorageResourceProvider implementations.

Applies to