BlobHttpResponseParsers.ReadServiceStatsAsync Method

Definition

Reads service stats from a stream.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.ServiceStats> ReadServiceStatsAsync (System.IO.Stream inputStream, System.Threading.CancellationToken token);
static member ReadServiceStatsAsync : System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.ServiceStats>
Public Shared Function ReadServiceStatsAsync (inputStream As Stream, token As CancellationToken) As Task(Of ServiceStats)

Parameters

inputStream
System.IO.Stream

The stream from which to read the service stats.

token
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<ServiceStats>

The service stats stored in the stream.

Applies to