CloudBlob.DownloadToStreamAsync Method (Stream) (Microsoft.WindowsAzure.Storage.Blob)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
Initiates an asynchronous operation to download the contents of a blob to a stream.
Namespace:
Microsoft.WindowsAzure.Storage.Blob
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute]
public virtual Task DownloadToStreamAsync(
Stream target
)
C++
public:
[DoesServiceRequestAttribute]
virtual Task^ DownloadToStreamAsync(
Stream^ target
)
[<DoesServiceRequestAttribute>]
abstract DownloadToStreamAsync :
target:Stream -> Task
[<DoesServiceRequestAttribute>]
override DownloadToStreamAsync :
target:Stream -> Task
<DoesServiceRequestAttribute>
Public Overridable Function DownloadToStreamAsync (
target As Stream
) As Task
Parameters
- target
-
Type:
System.IO.StreamSystem.IO::Stream^System.IO.StreamSystem.IO.Stream
A Stream object representing the target stream.
Return Value
Type:
System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.
Return to top
Initiates an asynchronous operation to download the contents of a blob to a stream.
Syntax
[DoesServiceRequestAttribute] public virtual Task DownloadToStreamAsync( Stream target )
C++
public: [DoesServiceRequestAttribute] virtual Task^ DownloadToStreamAsync( Stream^ target )
[<DoesServiceRequestAttribute>] abstract DownloadToStreamAsync : target:Stream -> Task [<DoesServiceRequestAttribute>] override DownloadToStreamAsync : target:Stream -> Task
<DoesServiceRequestAttribute> Public Overridable Function DownloadToStreamAsync ( target As Stream ) As Task
Parameters
- target
-
Type:
System.IO.StreamSystem.IO::Stream^System.IO.StreamSystem.IO.Stream
A Stream object representing the target stream.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.