SingleTransferContext Class

Definition

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

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

Constructors

SingleTransferContext()

Initializes a new instance of the SingleTransferContext class.

SingleTransferContext(Stream)

Initializes a new instance of the SingleTransferContext class.

SingleTransferContext(TransferCheckpoint)

Initializes a new instance of the SingleTransferContext 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)

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