DirectoryTransferContext Class

Definition

Represents the context for a directory transfer, and provides additional runtime information about its execution.

public class DirectoryTransferContext : Microsoft.Azure.Storage.DataMovement.TransferContext
type DirectoryTransferContext = class
    inherit TransferContext
Public Class DirectoryTransferContext
Inherits TransferContext
Inheritance
DirectoryTransferContext

Constructors

DirectoryTransferContext()

Initializes a new instance of the DirectoryTransferContext class.

DirectoryTransferContext(Stream)

Initializes a new instance of the DirectoryTransferContext class.

DirectoryTransferContext(TransferCheckpoint)

Initializes a new instance of the DirectoryTransferContext class.

Properties

ClientRequestId

Gets or sets the client request id.

(Inherited from TransferContext)
LastCheckpoint

Gets the last checkpoint of the transfer.

(Inherited from TransferContext)
LogLevel

Gets or sets the logging level to be used for the related transfer operation.

(Inherited from TransferContext)
ProgressHandler

Gets or sets the progress update handler.

(Inherited from TransferContext)
SetAttributesCallbackAsync

Gets or sets the callback invoked to set destination's attributes in memory. The attributes set in this callback will be sent to azure storage service.

(Inherited from TransferContext)
ShouldOverwriteCallbackAsync

Gets or sets the callback invoked to tell whether to overwrite an existing destination.

(Inherited from TransferContext)
ShouldTransferCallbackAsync

Gets or sets the callback invoked to tell whether a transfer should be done.

Events

FileFailed

The event triggered when a file transfer is failed.

(Inherited from TransferContext)
FileSkipped

The event triggered when a file transfer is skipped.

(Inherited from TransferContext)
FileTransferred

The event triggered when a file transfer is completed successfully.

(Inherited from TransferContext)

Applies to