TransferManager.CopyDirectoryAsync Method

Definition

Overloads

CopyDirectoryAsync(CloudBlobDirectory, CloudFileDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Copy an Azure blob directory to an Azure file directory.

CopyDirectoryAsync(CloudFileDirectory, CloudFileDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)
Obsolete.

Copy an Azure file directory to another Azure file directory.

CopyDirectoryAsync(CloudFileDirectory, CloudFileDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Copy an Azure file directory to another Azure file directory.

CopyDirectoryAsync(CloudFileDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)
Obsolete.

Copy an Azure file directory to an Azure blob directory.

CopyDirectoryAsync(CloudFileDirectory, CloudBlobDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Copy an Azure file directory to an Azure blob directory.

CopyDirectoryAsync(CloudBlobDirectory, CloudFileDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)
Obsolete.

Copy an Azure blob directory to an Azure file directory.

CopyDirectoryAsync(CloudBlobDirectory, CloudBlobDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Copy an Azure blob directory to another Azure blob directory.

CopyDirectoryAsync(CloudBlobDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)
Obsolete.

Copy an Azure blob directory to another Azure blob directory.

CopyDirectoryAsync(CloudFileDirectory, CloudFileDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext)

Copy an Azure file directory to another Azure file directory.

CopyDirectoryAsync(CloudFileDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext)
Obsolete.

Copy an Azure file directory to an Azure blob directory.

CopyDirectoryAsync(CloudFileDirectory, CloudBlobDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext)

Copy an Azure file directory to an Azure blob directory.

CopyDirectoryAsync(CloudBlobDirectory, CloudFileDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext)
Obsolete.

Copy an Azure blob directory to an Azure file directory.

CopyDirectoryAsync(CloudBlobDirectory, CloudFileDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext)

Copy an Azure blob directory to an Azure file directory.

CopyDirectoryAsync(CloudBlobDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext)
Obsolete.

Copy an Azure blob directory to another Azure blob directory.

CopyDirectoryAsync(CloudBlobDirectory, CloudBlobDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext)

Copy an Azure blob directory to another Azure blob directory.

CopyDirectoryAsync(CloudFileDirectory, CloudFileDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext)
Obsolete.

Copy an Azure file directory to another Azure file directory.

CopyDirectoryAsync(CloudBlobDirectory, CloudFileDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Copy an Azure blob directory to an Azure file directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, Microsoft.Azure.Storage.File.CloudFileDirectory destFileDir, Microsoft.Azure.Storage.DataMovement.CopyMethod copyMethod, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
static member CopyDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.DataMovement.CopyMethod * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destFileDir As CloudFileDirectory, copyMethod As CopyMethod, options As CopyDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)

Parameters

sourceBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destFileDir
CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

copyMethod
CopyMethod

A flag indicating how the copying operation is handled in DataMovement Library. See definition of CopyMethod for more details on how copying operation will be handled.

options
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken object to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Applies to

CopyDirectoryAsync(CloudFileDirectory, CloudFileDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Caution

Replaced by overload that takes CopyMethod

Copy an Azure file directory to another Azure file directory.

[System.Obsolete("Replaced by overload that takes CopyMethod", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, Microsoft.Azure.Storage.File.CloudFileDirectory destFileDir, bool isServiceCopy, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.File.CloudFileDirectory * bool * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceFileDir As CloudFileDirectory, destFileDir As CloudFileDirectory, isServiceCopy As Boolean, options As CopyDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)

Parameters

sourceFileDir
CloudFileDirectory

The CloudFileDirectory that is the source Azure file directory.

destFileDir
CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

isServiceCopy
Boolean

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
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken object to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Attributes

Applies to

CopyDirectoryAsync(CloudFileDirectory, CloudFileDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Copy an Azure file directory to another Azure file directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, Microsoft.Azure.Storage.File.CloudFileDirectory destFileDir, Microsoft.Azure.Storage.DataMovement.CopyMethod copyMethod, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
static member CopyDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.DataMovement.CopyMethod * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceFileDir As CloudFileDirectory, destFileDir As CloudFileDirectory, copyMethod As CopyMethod, options As CopyDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)

Parameters

sourceFileDir
CloudFileDirectory

The CloudFileDirectory that is the source Azure file directory.

destFileDir
CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

copyMethod
CopyMethod

A flag indicating how the copying operation is handled in DataMovement Library. See definition of CopyMethod for more details on how copying operation will be handled.

options
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken object to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Applies to

CopyDirectoryAsync(CloudFileDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Caution

Replaced by overload that takes CopyMethod

Copy an Azure file directory to an Azure blob directory.

[System.Obsolete("Replaced by overload that takes CopyMethod", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, Microsoft.Azure.Storage.Blob.CloudBlobDirectory destBlobDir, bool isServiceCopy, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.Blob.CloudBlobDirectory * bool * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceFileDir As CloudFileDirectory, destBlobDir As CloudBlobDirectory, isServiceCopy As Boolean, options As CopyDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)

Parameters

sourceFileDir
CloudFileDirectory

The CloudFileDirectory that is the source Azure file directory.

destBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob directory.

isServiceCopy
Boolean

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
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken object to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Attributes

Applies to

CopyDirectoryAsync(CloudFileDirectory, CloudBlobDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Copy an Azure file directory to an Azure blob directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, Microsoft.Azure.Storage.Blob.CloudBlobDirectory destBlobDir, Microsoft.Azure.Storage.DataMovement.CopyMethod copyMethod, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
static member CopyDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.DataMovement.CopyMethod * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceFileDir As CloudFileDirectory, destBlobDir As CloudBlobDirectory, copyMethod As CopyMethod, options As CopyDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)

Parameters

sourceFileDir
CloudFileDirectory

The CloudFileDirectory that is the source Azure file directory.

destBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob directory.

copyMethod
CopyMethod

A flag indicating how the copying operation is handled in DataMovement Library. See definition of CopyMethod for more details on how copying operation will be handled.

options
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken object to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Applies to

CopyDirectoryAsync(CloudBlobDirectory, CloudFileDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Caution

Replaced by overload that takes CopyMethod

Copy an Azure blob directory to an Azure file directory.

[System.Obsolete("Replaced by overload that takes CopyMethod", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, Microsoft.Azure.Storage.File.CloudFileDirectory destFileDir, bool isServiceCopy, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.File.CloudFileDirectory * bool * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destFileDir As CloudFileDirectory, isServiceCopy As Boolean, options As CopyDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)

Parameters

sourceBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destFileDir
CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

isServiceCopy
Boolean

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
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken object to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Attributes

Applies to

CopyDirectoryAsync(CloudBlobDirectory, CloudBlobDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Copy an Azure blob directory to another Azure blob directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, Microsoft.Azure.Storage.Blob.CloudBlobDirectory destBlobDir, Microsoft.Azure.Storage.DataMovement.CopyMethod copyMethod, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
static member CopyDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.DataMovement.CopyMethod * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destBlobDir As CloudBlobDirectory, copyMethod As CopyMethod, options As CopyDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)

Parameters

sourceBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob directory.

copyMethod
CopyMethod

A flag indicating how the copying operation is handled in DataMovement Library. See definition of CopyMethod for more details on how copying operation will be handled.

options
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken object to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Applies to

CopyDirectoryAsync(CloudBlobDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext, CancellationToken)

Caution

Replaced by overload that takes CopyMethod

Copy an Azure blob directory to another Azure blob directory.

[System.Obsolete("Replaced by overload that takes CopyMethod", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, Microsoft.Azure.Storage.Blob.CloudBlobDirectory destBlobDir, bool isServiceCopy, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
[<System.Obsolete("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.Blob.CloudBlobDirectory * bool * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destBlobDir As CloudBlobDirectory, isServiceCopy As Boolean, options As CopyDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)

Parameters

sourceBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob directory.

isServiceCopy
Boolean

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
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken object to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Attributes

Applies to

CopyDirectoryAsync(CloudFileDirectory, CloudFileDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext)

Copy an Azure file directory to another Azure file directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, Microsoft.Azure.Storage.File.CloudFileDirectory destFileDir, Microsoft.Azure.Storage.DataMovement.CopyMethod copyMethod, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
static member CopyDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.DataMovement.CopyMethod * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceFileDir As CloudFileDirectory, destFileDir As CloudFileDirectory, copyMethod As CopyMethod, options As CopyDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)

Parameters

sourceFileDir
CloudFileDirectory

The CloudFileDirectory that is the source Azure file directory.

destFileDir
CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

copyMethod
CopyMethod

A flag indicating how the copying operation is handled in DataMovement Library. See definition of CopyMethod for more details on how copying operation will be handled.

options
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Applies to

CopyDirectoryAsync(CloudFileDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext)

Caution

Replaced by overload that takes CopyMethod

Copy an Azure file directory to an Azure blob directory.

[System.Obsolete("Replaced by overload that takes CopyMethod", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, Microsoft.Azure.Storage.Blob.CloudBlobDirectory destBlobDir, bool isServiceCopy, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
[<System.Obsolete("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.Blob.CloudBlobDirectory * bool * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceFileDir As CloudFileDirectory, destBlobDir As CloudBlobDirectory, isServiceCopy As Boolean, options As CopyDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)

Parameters

sourceFileDir
CloudFileDirectory

The CloudFileDirectory that is the source Azure file directory.

destBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob directory.

isServiceCopy
Boolean

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
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Attributes

Applies to

CopyDirectoryAsync(CloudFileDirectory, CloudBlobDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext)

Copy an Azure file directory to an Azure blob directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, Microsoft.Azure.Storage.Blob.CloudBlobDirectory destBlobDir, Microsoft.Azure.Storage.DataMovement.CopyMethod copyMethod, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
static member CopyDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.DataMovement.CopyMethod * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceFileDir As CloudFileDirectory, destBlobDir As CloudBlobDirectory, copyMethod As CopyMethod, options As CopyDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)

Parameters

sourceFileDir
CloudFileDirectory

The CloudFileDirectory that is the source Azure file directory.

destBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob directory.

copyMethod
CopyMethod

A flag indicating how the copying operation is handled in DataMovement Library. See definition of CopyMethod for more details on how copying operation will be handled.

options
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Applies to

CopyDirectoryAsync(CloudBlobDirectory, CloudFileDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext)

Caution

Replaced by overload that takes CopyMethod

Copy an Azure blob directory to an Azure file directory.

[System.Obsolete("Replaced by overload that takes CopyMethod", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, Microsoft.Azure.Storage.File.CloudFileDirectory destFileDir, bool isServiceCopy, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
[<System.Obsolete("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.File.CloudFileDirectory * bool * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destFileDir As CloudFileDirectory, isServiceCopy As Boolean, options As CopyDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)

Parameters

sourceBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destFileDir
CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

isServiceCopy
Boolean

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
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Attributes

Applies to

CopyDirectoryAsync(CloudBlobDirectory, CloudFileDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext)

Copy an Azure blob directory to an Azure file directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, Microsoft.Azure.Storage.File.CloudFileDirectory destFileDir, Microsoft.Azure.Storage.DataMovement.CopyMethod copyMethod, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
static member CopyDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.DataMovement.CopyMethod * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destFileDir As CloudFileDirectory, copyMethod As CopyMethod, options As CopyDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)

Parameters

sourceBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destFileDir
CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

copyMethod
CopyMethod

A flag indicating how the copying operation is handled in DataMovement Library. See definition of CopyMethod for more details on how copying operation will be handled.

options
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Applies to

CopyDirectoryAsync(CloudBlobDirectory, CloudBlobDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext)

Caution

Replaced by overload that takes CopyMethod

Copy an Azure blob directory to another Azure blob directory.

[System.Obsolete("Replaced by overload that takes CopyMethod", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, Microsoft.Azure.Storage.Blob.CloudBlobDirectory destBlobDir, bool isServiceCopy, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
[<System.Obsolete("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.Blob.CloudBlobDirectory * bool * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destBlobDir As CloudBlobDirectory, isServiceCopy As Boolean, options As CopyDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)

Parameters

sourceBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob directory.

isServiceCopy
Boolean

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
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Attributes

Applies to

CopyDirectoryAsync(CloudBlobDirectory, CloudBlobDirectory, CopyMethod, CopyDirectoryOptions, DirectoryTransferContext)

Copy an Azure blob directory to another Azure blob directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, Microsoft.Azure.Storage.Blob.CloudBlobDirectory destBlobDir, Microsoft.Azure.Storage.DataMovement.CopyMethod copyMethod, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
static member CopyDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.Blob.CloudBlobDirectory * Microsoft.Azure.Storage.DataMovement.CopyMethod * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destBlobDir As CloudBlobDirectory, copyMethod As CopyMethod, options As CopyDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)

Parameters

sourceBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destBlobDir
CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob directory.

copyMethod
CopyMethod

A flag indicating how the copying operation is handled in DataMovement Library. See definition of CopyMethod for more details on how copying operation will be handled.

options
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Applies to

CopyDirectoryAsync(CloudFileDirectory, CloudFileDirectory, Boolean, CopyDirectoryOptions, DirectoryTransferContext)

Caution

Replaced by overload that takes CopyMethod

Copy an Azure file directory to another Azure file directory.

[System.Obsolete("Replaced by overload that takes CopyMethod", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> CopyDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, Microsoft.Azure.Storage.File.CloudFileDirectory destFileDir, bool isServiceCopy, Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
[<System.Obsolete("Replaced by overload that takes CopyMethod", false)>]
static member CopyDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * Microsoft.Azure.Storage.File.CloudFileDirectory * bool * Microsoft.Azure.Storage.DataMovement.CopyDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function CopyDirectoryAsync (sourceFileDir As CloudFileDirectory, destFileDir As CloudFileDirectory, isServiceCopy As Boolean, options As CopyDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)

Parameters

sourceFileDir
CloudFileDirectory

The CloudFileDirectory that is the source Azure file directory.

destFileDir
CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

isServiceCopy
Boolean

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
CopyDirectoryOptions

A CopyDirectoryOptions object that specifies additional options for the operation.

context
DirectoryTransferContext

A DirectoryTransferContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type TransferStatus that represents the asynchronous operation.

Attributes

Applies to