TransferManager.UploadAsync Method (String, CloudBlob)
Upload a file to Azure Blob Storage.
Namespace: Microsoft.WindowsAzure.Storage.DataMovement
Assembly: Microsoft.WindowsAzure.Storage.DataMovement (in Microsoft.WindowsAzure.Storage.DataMovement.dll)
Syntax
public static Task UploadAsync(
string sourcePath,
CloudBlob destBlob
)
Parameters
sourcePath
Type: System.StringPath to the source file.
destBlob
Type: Microsoft.WindowsAzure.Storage.Blob.CloudBlobThe CloudBlob that is the destination Azure blob.
Return Value
Type: System.Threading.Tasks.Task
A Task object that represents the asynchronous operation.
See Also
UploadAsync Overload
TransferManager Class
Microsoft.WindowsAzure.Storage.DataMovement Namespace
Return to top