Share via


DirectoryTransferContext Class

 

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

Namespace:   Microsoft.WindowsAzure.Storage.DataMovement
Assembly:  Microsoft.WindowsAzure.Storage.DataMovement (in Microsoft.WindowsAzure.Storage.DataMovement.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Storage.DataMovement.TransferContext
    Microsoft.WindowsAzure.Storage.DataMovement.DirectoryTransferContext

Syntax

public class DirectoryTransferContext : TransferContext

Constructors

Name Description
System_CAPS_pubmethod DirectoryTransferContext()

Initializes a new instance of the DirectoryTransferContext class.

System_CAPS_pubmethod DirectoryTransferContext(Stream)

Initializes a new instance of the DirectoryTransferContext class.

System_CAPS_pubmethod DirectoryTransferContext(TransferCheckpoint)

Initializes a new instance of the DirectoryTransferContext class.

Properties

Name Description
System_CAPS_pubproperty ClientRequestId

Gets or sets the client request id. (Inherited from TransferContext.)

System_CAPS_pubproperty LastCheckpoint

Gets the last checkpoint of the transfer. (Inherited from TransferContext.)

System_CAPS_pubproperty LogLevel

Gets or sets the logging level to be used for the related transfer operation. (Inherited from TransferContext.)

System_CAPS_pubproperty ProgressHandler

Gets or sets the progress update handler. (Inherited from TransferContext.)

System_CAPS_pubproperty SetAttributesCallback

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.)

System_CAPS_pubproperty ShouldOverwriteCallback

Gets or sets the callback invoked to tell whether to overwrite an existing destination. (Inherited from TransferContext.)

System_CAPS_pubproperty ShouldTransferCallback

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent FileFailed

The event triggered when a file transfer is failed. (Inherited from TransferContext.)

System_CAPS_pubevent FileSkipped

The event triggered when a file transfer is skipped. (Inherited from TransferContext.)

System_CAPS_pubevent FileTransferred

The event triggered when a file transfer is completed successfully. (Inherited from TransferContext.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Storage.DataMovement Namespace

Return to top