TransferManager.UploadDirectoryAsync Method (String, CloudBlobDirectory)

 

Updated: January 5, 2017

Upload a directory to Azure Blob Storage.

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

public static Task<TransferStatus> UploadDirectoryAsync(
	string sourcePath,
	CloudBlobDirectory destBlobDir
)

Parameters

sourcePath
Type: System.String

Path to the source directory

destBlobDir
Type: Microsoft.WindowsAzure.Storage.Blob.CloudBlobDirectory

The CloudBlobDirectory that is the destination Azure blob 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: