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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for