C#C++F#VB
CloudFileShare.::..GetStatsAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
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( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<ShareStats^>^ GetStatsAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract GetStatsAsync : cancellationToken:CancellationToken -> Task<ShareStats> [<DoesServiceRequestAttribute>] override GetStatsAsync : cancellationToken:CancellationToken -> Task<ShareStats>
<DoesServiceRequestAttribute> Public Overridable Function GetStatsAsync ( cancellationToken As CancellationToken ) As Task(Of ShareStats)
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<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.