C#
C++
F#
VB
CloudAppendBlob.::..DownloadTextAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Initiates an asynchronous operation to download the blob's contents as a string.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<string> DownloadTextAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<String^>^ DownloadTextAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract DownloadTextAsync : cancellationToken:CancellationToken -> Task<string> [<DoesServiceRequestAttribute>] override DownloadTextAsync : cancellationToken:CancellationToken -> Task<string>
<DoesServiceRequestAttribute> Public Overridable Function DownloadTextAsync ( cancellationToken As CancellationToken ) As Task(Of String)
Parameters
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.Task<String>System.Threading.Tasks::Task<String^>^System.Threading.Tasks.Task<String>System.Threading.Tasks.Task(Of String)A Task<TResult><TResult><'TResult>(Of TResult) object of type string that represents the asynchronous operation.
See Also
DownloadTextAsync Overload
CloudAppendBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace