StorageExtendedErrorInformation.ReadFromStreamAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET