TransferManagerDownloadAsync Method (CloudFile, Stream) |
Download an Azure file from 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 DownloadAsync(
CloudFile sourceFile,
Stream destStream
)
Public Shared Function DownloadAsync (
sourceFile As CloudFile,
destStream As Stream
) As Task
public:
static Task^ DownloadAsync(
CloudFile^ sourceFile,
Stream^ destStream
)
static member DownloadAsync :
sourceFile : CloudFile *
destStream : Stream -> Task
Parameters
- sourceFile
- Type: CloudFile
The CloudFile that is the source Azure file. - destStream
- Type: System.IOStream
A Stream object representing the destination stream.
Return Value
Type:
TaskA
Task object that represents the asynchronous operation.
See Also