Click or drag to resize

TransferContext Class

Represents the context for a transfer, and provides additional runtime information about its execution.
Inheritance Hierarchy
SystemObject
  Microsoft.Azure.Storage.DataMovementTransferContext
    Microsoft.Azure.Storage.DataMovementDirectoryTransferContext
    Microsoft.Azure.Storage.DataMovementSingleTransferContext

Namespace:  Microsoft.Azure.Storage.DataMovement
Assembly:  Microsoft.Azure.Storage.DataMovement (in Microsoft.Azure.Storage.DataMovement.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
public abstract class TransferContext

The TransferContext type exposes the following members.

Constructors
  NameDescription
Protected methodTransferContext
Initializes a new instance of the TransferContext class.
Protected methodTransferContext(Stream)
Initializes a new instance of the TransferContext class.
Protected methodTransferContext(TransferCheckpoint)
Initializes a new instance of the TransferContext class.
Top
Properties
  NameDescription
Public propertyClientRequestId
Gets or sets the client request id.
Public propertyLastCheckpoint
Gets the last checkpoint of the transfer.
Public propertyLogLevel
Gets or sets the logging level to be used for the related transfer operation.
Public propertyProgressHandler
Gets or sets the progress update handler.
Public propertySetAttributesCallbackAsync
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.
Public propertyShouldOverwriteCallbackAsync
Gets or sets the callback invoked to tell whether to overwrite an existing destination.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberForceOverwrite
Callback used to force overwrite the destination without existence check. It can be used when destination credentials only contains write permission.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventFileFailed
The event triggered when a file transfer is failed.
Public eventFileSkipped
The event triggered when a file transfer is skipped.
Public eventFileTransferred
The event triggered when a file transfer is completed successfully.
Top
See Also