TransferManagerCopyDirectoryAsync Method (CloudBlobDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext) |
Note: This API is now obsolete.
Copy an Azure blob directory to another Azure blob directory.
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 [ObsoleteAttribute("Replaced by overload that takes CopyMethod", false)]
public static Task<TransferStatus> CopyDirectoryAsync(
CloudBlobDirectory sourceBlobDir,
CloudBlobDirectory destBlobDir,
bool isServiceCopy,
CopyDirectoryOptions options,
DirectoryTransferContext context
)
<ObsoleteAttribute("Replaced by overload that takes CopyMethod", false)>
Public Shared Function CopyDirectoryAsync (
sourceBlobDir As CloudBlobDirectory,
destBlobDir As CloudBlobDirectory,
isServiceCopy As Boolean,
options As CopyDirectoryOptions,
context As DirectoryTransferContext
) As Task(Of TransferStatus)
public:
[ObsoleteAttribute(L"Replaced by overload that takes CopyMethod", false)]
static Task<TransferStatus^>^ CopyDirectoryAsync(
CloudBlobDirectory^ sourceBlobDir,
CloudBlobDirectory^ destBlobDir,
bool isServiceCopy,
CopyDirectoryOptions^ options,
DirectoryTransferContext^ context
)
[<ObsoleteAttribute("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync :
sourceBlobDir : CloudBlobDirectory *
destBlobDir : CloudBlobDirectory *
isServiceCopy : bool *
options : CopyDirectoryOptions *
context : DirectoryTransferContext -> Task<TransferStatus>
Parameters
- sourceBlobDir
- Type: CloudBlobDirectory
The CloudBlobDirectory that is the source Azure blob directory. - destBlobDir
- Type: CloudBlobDirectory
The CloudBlobDirectory that is the destination Azure blob directory. - isServiceCopy
- Type: SystemBoolean
A flag indicating whether the copy is service-side asynchronous copy or not.
If this flag is set to true, service-side asychronous copy will be used; if this flag is set to false,
file is downloaded from source first, then uploaded to destination. - options
- Type: Microsoft.Azure.Storage.DataMovementCopyDirectoryOptions
A CopyDirectoryOptions object that specifies additional options for the operation. - context
- Type: Microsoft.Azure.Storage.DataMovementDirectoryTransferContext
A DirectoryTransferContext object that represents the context for the current operation.
Return Value
Type:
TaskTransferStatusA
TaskTResult object of type
TransferStatus that represents the asynchronous operation.
See Also