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 | |
---|---|---|
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
Name | Description | |
---|---|---|
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.) |
|
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.) |
|
ShouldOverwriteCallback | Gets or sets the callback invoked to tell whether to overwrite an existing destination. (Inherited from TransferContext.) |
|
ShouldTransferCallback | Gets or sets the callback invoked to tell whether a transfer should be done. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
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.) |
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