TransferManager.DownloadAsync Method (CloudFile, Stream)

 

Updated: January 5, 2017

Download an Azure file from Azure File Storage.

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

public static Task DownloadAsync(
	CloudFile sourceFile,
	Stream destStream
)

Parameters

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

The CloudFile that is the source Azure file.

destStream
Type: System.IO.Stream

A Stream object representing the destination stream.

Return Value

Type: System.Threading.Tasks.Task

A Task object that represents the asynchronous operation.

Return to top
Show: