Share via


StorageExtendedErrorInformation.ReadFromStreamAsync Method

Definition

Overloads

ReadFromStreamAsync(Stream)

Gets the error details from an XML-formatted error stream.

ReadFromStreamAsync(Stream, CancellationToken)

Gets the error details from an XML-formatted error stream.

ReadFromStreamAsync(Stream)

Gets the error details from an XML-formatted error stream.

public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.StorageExtendedErrorInformation> ReadFromStreamAsync (System.IO.Stream inputStream);
static member ReadFromStreamAsync : System.IO.Stream -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.StorageExtendedErrorInformation>
Public Shared Function ReadFromStreamAsync (inputStream As Stream) As Task(Of StorageExtendedErrorInformation)

Parameters

inputStream
Stream

The input stream.

Returns

The error details.

Applies to

ReadFromStreamAsync(Stream, CancellationToken)

Gets the error details from an XML-formatted error stream.

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

Parameters

inputStream
Stream

The input stream.

cancellationToken
CancellationToken

Returns

The error details.

Applies to