Gets the stats of the queue service.
Namespace: Microsoft.WindowsAzure.Storage.Queue
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudQueueClient
Dim options As QueueRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncOperation(Of ServiceStats)
returnValue = instance.GetServiceStatsAsync(options, operationContext) |
Syntax
Visual Basic |
---|
Public Function GetServiceStatsAsync ( _
options As QueueRequestOptions, _
operationContext As OperationContext _
) As IAsyncOperation(Of ServiceStats) |
C# |
---|
public IAsyncOperation<ServiceStats> GetServiceStatsAsync (
QueueRequestOptions options,
OperationContext operationContext
) |
C++ |
---|
public:
IAsyncOperation<ServiceStats^>^ GetServiceStatsAsync (
QueueRequestOptions^ options,
OperationContext^ operationContext
) |
J# |
---|
public IAsyncOperation<ServiceStats> GetServiceStatsAsync (
QueueRequestOptions options,
OperationContext operationContext
) |
JScript |
---|
public function GetServiceStatsAsync (
options : QueueRequestOptions,
operationContext : OperationContext
) : IAsyncOperation<ServiceStats> |
Parameters
- options
A QueueRequestOptions object that specifies execution options, such as retry policy and timeout settings, for the operation.
- operationContext
An OperationContext object that represents the context for the current operation.
Return Value
The queue service stats.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also