Share via


QueueHttpResponseParsers.ReadServicePropertiesAsync Method

Definition

Reads service properties from a stream.

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

Parameters

inputStream
System.IO.Stream

The stream from which to read the service properties.

token
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<ServiceProperties>

The service properties stored in the stream.

Applies to