C#C++F#VB
CloudFileShare.::..GetStatsAsync Method (FileRequestOptions, OperationContext)(FileRequestOptions^, OperationContext^)(FileRequestOptions, OperationContext)(FileRequestOptions, OperationContext)
Initiates an asynchronous operation to get stats for the share.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<ShareStats> GetStatsAsync( FileRequestOptions options, OperationContext operationContext )
C++
public: [DoesServiceRequestAttribute] virtual Task<ShareStats^>^ GetStatsAsync( FileRequestOptions^ options, OperationContext^ operationContext )
[<DoesServiceRequestAttribute>] abstract GetStatsAsync : options:FileRequestOptions * operationContext:OperationContext -> Task<ShareStats> [<DoesServiceRequestAttribute>] override GetStatsAsync : options:FileRequestOptions * operationContext:OperationContext -> Task<ShareStats>
<DoesServiceRequestAttribute> Public Overridable Function GetStatsAsync ( options As FileRequestOptions, operationContext As OperationContext ) As Task(Of ShareStats)
Parameters
- options
-
Type:
Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File::FileRequestOptions^Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File.FileRequestOptions
A FileRequestOptions 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.
Return Value
Type: System.Threading.Tasks.Task<ShareStats>System.Threading.Tasks::Task<ShareStats^>^System.Threading.Tasks.Task<ShareStats>System.Threading.Tasks.Task(Of ShareStats)A Task<TResult><TResult><'TResult>(Of TResult) object of type ShareStats that represents the asynchronous operation.