Click or drag to resize

DirectoryTransferContext Class

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

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 class DirectoryTransferContext : TransferContext

The DirectoryTransferContext type exposes the following members.

Constructors
  NameDescription
Public methodDirectoryTransferContext
Initializes a new instance of the DirectoryTransferContext class.
Public methodDirectoryTransferContext(Stream)
Initializes a new instance of the DirectoryTransferContext class.
Public methodDirectoryTransferContext(TransferCheckpoint)
Initializes a new instance of the DirectoryTransferContext class.
Top
Properties
  NameDescription
Public propertyClientRequestId
Gets or sets the client request id.
(Inherited from TransferContext.)
Public propertyLastCheckpoint
Gets the last checkpoint of the transfer.
(Inherited from TransferContext.)
Public propertyLogLevel
Gets or sets the logging level to be used for the related transfer operation.
(Inherited from TransferContext.)
Public propertyProgressHandler
Gets or sets the progress update handler.
(Inherited from TransferContext.)
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.
(Inherited from TransferContext.)
Public propertyShouldOverwriteCallbackAsync
Gets or sets the callback invoked to tell whether to overwrite an existing destination.
(Inherited from TransferContext.)
Public propertyShouldTransferCallbackAsync
Gets or sets the callback invoked to tell whether a transfer should be done.
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 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.
(Inherited from TransferContext.)
Public eventFileSkipped
The event triggered when a file transfer is skipped.
(Inherited from TransferContext.)
Public eventFileTransferred
The event triggered when a file transfer is completed successfully.
(Inherited from TransferContext.)
Top
See Also