C#
C++
F#
VB
CloudQueueClient.::..GetServiceStatsAsync Method (QueueRequestOptions, OperationContext, CancellationToken)(QueueRequestOptions^, OperationContext^, CancellationToken)(QueueRequestOptions, OperationContext, CancellationToken)(QueueRequestOptions, OperationContext, CancellationToken)
Gets the stats of the queue service.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public virtual Task<ServiceStats> GetServiceStatsAsync( QueueRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken )
C++
public: virtual Task<ServiceStats^>^ GetServiceStatsAsync( QueueRequestOptions^ options, OperationContext^ operationContext, CancellationToken cancellationToken )
abstract GetServiceStatsAsync : options:QueueRequestOptions * operationContext:OperationContext * cancellationToken:CancellationToken -> Task<ServiceStats> override GetServiceStatsAsync : options:QueueRequestOptions * operationContext:OperationContext * cancellationToken:CancellationToken -> Task<ServiceStats>
Public Overridable Function GetServiceStatsAsync ( options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken ) As Task(Of ServiceStats)
Parameters
- options
-
Type:
Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptionsMicrosoft.WindowsAzure.Storage.Queue::QueueRequestOptions^Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptionsMicrosoft.WindowsAzure.Storage.Queue.QueueRequestOptions
A QueueRequestOptions object that specifies execution options, such as retry policy and timeout settings, for the operation.
- 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)The queue service stats.
See Also
GetServiceStatsAsync Overload
CloudQueueClient Class
Microsoft.WindowsAzure.Storage.Queue Namespace