C#
C++
F#
VB
CloudBlobClient.::..GetServicePropertiesAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Initiates an asynchronous operation to get service properties for the Blob service.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<ServiceProperties> GetServicePropertiesAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<ServiceProperties^>^ GetServicePropertiesAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract GetServicePropertiesAsync : cancellationToken:CancellationToken -> Task<ServiceProperties> [<DoesServiceRequestAttribute>] override GetServicePropertiesAsync : cancellationToken:CancellationToken -> Task<ServiceProperties>
<DoesServiceRequestAttribute> Public Overridable Function GetServicePropertiesAsync ( cancellationToken As CancellationToken ) As Task(Of ServiceProperties)
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<ServiceProperties>System.Threading.Tasks::Task<ServiceProperties^>^System.Threading.Tasks.Task<ServiceProperties>System.Threading.Tasks.Task(Of ServiceProperties)A Task<TResult><TResult><'TResult>(Of TResult) object of type ServiceProperties that represents the asynchronous operation.
See Also
GetServicePropertiesAsync Overload
CloudBlobClient Class
Microsoft.WindowsAzure.Storage.Blob Namespace