TransferManagerUploadAsync Method (String, CloudFile) |
Upload a file to Azure File Storage.
Namespace:
Microsoft.Azure.Storage.DataMovement
Assembly:
Microsoft.Azure.Storage.DataMovement (in Microsoft.Azure.Storage.DataMovement.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax public static Task UploadAsync(
string sourcePath,
CloudFile destFile
)
Public Shared Function UploadAsync (
sourcePath As String,
destFile As CloudFile
) As Task
public:
static Task^ UploadAsync(
String^ sourcePath,
CloudFile^ destFile
)
static member UploadAsync :
sourcePath : string *
destFile : CloudFile -> Task
Parameters
- sourcePath
- Type: SystemString
Path to the source file. - destFile
- Type: CloudFile
The CloudFile that is the destination Azure file.
Return Value
Type:
TaskA
Task object that represents the asynchronous operation.
See Also