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