Table of Contents

Class RequestResult

Namespace
Microsoft.WindowsAzure.Storage
Assembly
Microsoft.WindowsAzure.Storage.dll

Represents the result of a physical request.

public sealed class RequestResult
Inheritance
RequestResult
Inherited Members

Constructors

RequestResult()

public RequestResult()

Properties

ContentMd5

Gets the content-MD5 value for the request.

public string ContentMd5 { get; }

Property Value

string

The content-MD5 value for the request.

EgressBytes

The number of bytes written to the request body for a given request

public long EgressBytes { get; set; }

Property Value

long

EndTime

Gets the end time of the operation.

public DateTime EndTime { get; }

Property Value

DateTime

A DateTime value indicating the end time of the operation.

ErrorCode

Gets the storage service error code.

public string ErrorCode { get; }

Property Value

string

A string containing the storage service error code.

Etag

Gets the ETag value of the request.

public string Etag { get; }

Property Value

string

The ETag value of the request.

Exception

Gets or sets the exception.

public Exception Exception { get; set; }

Property Value

Exception

An Exception object.

ExtendedErrorInformation

Gets the extended error information.

public StorageExtendedErrorInformation ExtendedErrorInformation { get; }

Property Value

StorageExtendedErrorInformation

A StorageExtendedErrorInformation object.

HttpStatusCode

Gets or sets the HTTP status code for the request.

public int HttpStatusCode { get; set; }

Property Value

int

The HTTP status code for the request.

HttpStatusMessage

Gets the HTTP status message for the request.

public string HttpStatusMessage { get; }

Property Value

string

The HTTP status message for the request.

IngressBytes

The number of bytes read from the response body for the given request

public long IngressBytes { get; set; }

Property Value

long

IsRequestServerEncrypted

Gets whether or not the data for a write operation is encrypted server-side.

public bool IsRequestServerEncrypted { get; }

Property Value

bool

RequestDate

Gets the request date.

public string RequestDate { get; }

Property Value

string

The request date.

ServiceRequestID

Gets the service request ID for this request.

public string ServiceRequestID { get; }

Property Value

string

The service request ID for this request.

StartTime

Gets the start time of the operation.

public DateTime StartTime { get; }

Property Value

DateTime

A DateTime value indicating the start time of the operation.

TargetLocation

Gets the location to which the request was sent.

public StorageLocation TargetLocation { get; }

Property Value

StorageLocation

A StorageLocation enumeration value.

Methods

ReadXml(XmlReader)

Generates a serializable RequestResult from its XML representation.

public void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The System.Xml.XmlReader stream from which the RequestResult is deserialized.

TranslateFromExceptionMessage(string)

Translates the specified message into a RequestResult object.

[Obsolete("This should be available only in Microsoft.WindowsAzure.Storage.WinMD and not in Microsoft.WindowsAzure.Storage.dll. Please use ReadXML to deserialize RequestResult when Microsoft.WindowsAzure.Storage.dll is used.")]
public static RequestResult TranslateFromExceptionMessage(string message)

Parameters

message string

The message to translate.

Returns

RequestResult

The translated RequestResult.

WriteXml(XmlWriter)

Converts a serializable RequestResult into its XML representation.

public void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The System.Xml.XmlWriter stream to which the RequestResult is serialized.