C#
C++
F#
VB
CloudBlobClient.::..GetBlobReferenceFromServerAsync Method (Uri, CancellationToken)(Uri^, CancellationToken)(Uri, CancellationToken)(Uri, CancellationToken)
Initiates an asynchronous operation that gets a reference to a blob.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<ICloudBlob> GetBlobReferenceFromServerAsync( Uri blobUri, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<ICloudBlob^>^ GetBlobReferenceFromServerAsync( Uri^ blobUri, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract GetBlobReferenceFromServerAsync : blobUri:Uri * cancellationToken:CancellationToken -> Task<ICloudBlob> [<DoesServiceRequestAttribute>] override GetBlobReferenceFromServerAsync : blobUri:Uri * cancellationToken:CancellationToken -> Task<ICloudBlob>
<DoesServiceRequestAttribute> Public Overridable Function GetBlobReferenceFromServerAsync ( blobUri As Uri, cancellationToken As CancellationToken ) As Task(Of ICloudBlob)
Parameters
- blobUri
-
Type:
System.UriSystem::Uri^System.UriSystem.Uri
A Uri containing the URI of the blob. The service assumes this is the URI for the blob at the primary location.
- 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<ICloudBlob>System.Threading.Tasks::Task<ICloudBlob^>^System.Threading.Tasks.Task<ICloudBlob>System.Threading.Tasks.Task(Of ICloudBlob)A Task<TResult><TResult><'TResult>(Of TResult) object of type ICloudBlob that represents the asynchronous operation.
See Also
GetBlobReferenceFromServerAsync Overload
CloudBlobClient Class
Microsoft.WindowsAzure.Storage.Blob Namespace