C#
C++
F#
VB
CloudBlobClient.::..GetServiceStatsAsync Method (BlobRequestOptions, OperationContext, CancellationToken)(BlobRequestOptions^, OperationContext^, CancellationToken)(BlobRequestOptions, OperationContext, CancellationToken)(BlobRequestOptions, OperationContext, 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( BlobRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<ServiceStats^>^ GetServiceStatsAsync( BlobRequestOptions^ requestOptions, OperationContext^ operationContext, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract GetServiceStatsAsync : requestOptions:BlobRequestOptions * operationContext:OperationContext * cancellationToken:CancellationToken -> Task<ServiceStats> [<DoesServiceRequestAttribute>] override GetServiceStatsAsync : requestOptions:BlobRequestOptions * operationContext:OperationContext * cancellationToken:CancellationToken -> Task<ServiceStats>
<DoesServiceRequestAttribute> Public Overridable Function GetServiceStatsAsync ( requestOptions As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken ) As Task(Of ServiceStats)
Parameters
- requestOptions
-
Type:
Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptionsMicrosoft.WindowsAzure.Storage.Blob::BlobRequestOptions^Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptionsMicrosoft.WindowsAzure.Storage.Blob.BlobRequestOptions
A BlobRequestOptions object that specifies additional options for the request.
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
- 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