Class ODataErrorHelper
- Namespace
- Microsoft.WindowsAzure.Storage
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Represents additional functionality for processing extended error information returned by the Windows Azure storage services for Tables.
public static class ODataErrorHelper
- Inheritance
-
ODataErrorHelper
- Inherited Members
Methods
ReadAndParseExtendedError(Stream)
Parses the error details from the stream
public static StorageExtendedErrorInformation ReadAndParseExtendedError(Stream inputStream)
Parameters
inputStream
StreamThe stream to parse.
Returns
- StorageExtendedErrorInformation
The error details.
ReadAndParseExtendedErrorAsync(Stream, CancellationToken)
Parses the error details from the stream.
public static Task<StorageExtendedErrorInformation> ReadAndParseExtendedErrorAsync(Stream responseStream, CancellationToken cancellationToken)
Parameters
responseStream
StreamThe stream to parse.
cancellationToken
CancellationTokenCancellation token used to cancel the request.
Returns
- Task<StorageExtendedErrorInformation>
The error details.
ReadFromStreamUsingODataLib(Stream, HttpWebResponse, string)
Gets the error details from the stream.
public static StorageExtendedErrorInformation ReadFromStreamUsingODataLib(Stream inputStream, HttpWebResponse response, string contentType)
Parameters
inputStream
StreamThe input stream.
response
HttpWebResponseThe web response.
contentType
stringThe response Content-Type.
Returns
- StorageExtendedErrorInformation
The error details.