TransferManager.UploadAsync Method (String, CloudFile)

 

Updated: January 5, 2017

Upload a file to Azure File Storage.

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

public static Task UploadAsync(
	string sourcePath,
	CloudFile destFile
)

Parameters

sourcePath
Type: System.String

Path to the source file.

destFile
Type: Microsoft.WindowsAzure.Storage.File.CloudFile

The CloudFile that is the destination Azure file.

Return Value

Type: System.Threading.Tasks.Task

A Task object that represents the asynchronous operation.

Return to top
Show: