CloudFileShare.GetStatsAsync CloudFileShare.GetStatsAsync CloudFileShare.GetStatsAsync Method

Definition

Overloads

GetStatsAsync(FileRequestOptions, OperationContext) GetStatsAsync(FileRequestOptions, OperationContext)

Initiates an asynchronous operation to get stats for the share.

GetStatsAsync(FileRequestOptions, OperationContext, CancellationToken) GetStatsAsync(FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to get stats for the share.

GetStatsAsync() GetStatsAsync() GetStatsAsync()

Initiates an asynchronous operation to get stats for the share.

GetStatsAsync(CancellationToken) GetStatsAsync(CancellationToken)

Initiates an asynchronous operation to get stats for the share.

GetStatsAsync(FileRequestOptions, OperationContext) GetStatsAsync(FileRequestOptions, OperationContext)

Initiates an asynchronous operation to get stats for the share.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats> GetStatsAsync (Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member GetStatsAsync : Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats>
override this.GetStatsAsync : Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats>
Parameters
options
FileRequestOptions FileRequestOptions FileRequestOptions

A FileRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task<TResult> object of type ShareStats that represents the asynchronous operation.

GetStatsAsync(FileRequestOptions, OperationContext, CancellationToken) GetStatsAsync(FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to get stats for the share.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats> GetStatsAsync (Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetStatsAsync : Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats>
override this.GetStatsAsync : Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats>
Parameters
options
FileRequestOptions FileRequestOptions FileRequestOptions

A FileRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type ShareStats that represents the asynchronous operation.

GetStatsAsync() GetStatsAsync() GetStatsAsync()

Initiates an asynchronous operation to get stats for the share.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats> GetStatsAsync ();
abstract member GetStatsAsync : unit -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats>
override this.GetStatsAsync : unit -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats>
Public Overridable Function GetStatsAsync () As Task(Of ShareStats)
Returns

A Task<TResult> object of type ShareStats that represents the asynchronous operation.

GetStatsAsync(CancellationToken) GetStatsAsync(CancellationToken)

Initiates an asynchronous operation to get stats for the share.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats> GetStatsAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetStatsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats>
override this.GetStatsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.Protocol.ShareStats>
Parameters
cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type ShareStats that represents the asynchronous operation.

Applies to