Table of Contents

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 Stream

The 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 Stream

The stream to parse.

cancellationToken CancellationToken

Cancellation 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 Stream

The input stream.

response HttpWebResponse

The web response.

contentType string

The response Content-Type.

Returns

StorageExtendedErrorInformation

The error details.