TransferManager.UploadDirectoryAsync Method (String, CloudFileDirectory)

 

Updated: January 5, 2017

Upload a directory to Azure File Storage.

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

public static Task<TransferStatus> UploadDirectoryAsync(
	string sourcePath,
	CloudFileDirectory destFileDir
)

Parameters

sourcePath
Type: System.String

Path to the source directory

destFileDir
Type: Microsoft.WindowsAzure.Storage.File.CloudFileDirectory

The CloudFileDirectory that is the destination Azure file directory.

Return Value

Type: System.Threading.Tasks.Task<TransferStatus>

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

Return to top
Show: