CloudHttpRequestErrorInfo Class

 

Represents the HTTP requests that are associated with error conditions.

Namespace:   Microsoft.WindowsAzure.Common
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Common.CloudHttpErrorInfo
    Microsoft.WindowsAzure.Common.CloudHttpRequestErrorInfo

Syntax

public class CloudHttpRequestErrorInfo : CloudHttpErrorInfo
public ref class CloudHttpRequestErrorInfo : CloudHttpErrorInfo
type CloudHttpRequestErrorInfo = 
    class
        inherit CloudHttpErrorInfo
    end
Public Class CloudHttpRequestErrorInfo
    Inherits CloudHttpErrorInfo

Constructors

Name Description
System_CAPS_protmethod CloudHttpRequestErrorInfo()

Initializes a new instance of the CloudHttpRequestErrorInfo class.

Properties

Name Description
System_CAPS_pubproperty Content

Gets the contents of the HTTP message.(Inherited from CloudHttpErrorInfo.)

System_CAPS_pubproperty Headers

Gets the collection of HTTP headers.(Inherited from CloudHttpErrorInfo.)

System_CAPS_pubproperty Method

Gets the HTTP method that is used by the HTTP request message.

System_CAPS_pubproperty Properties

Gets a set of properties for the HTTP request.

System_CAPS_pubproperty RequestUri

Gets the URI that is used for the HTTP request.

System_CAPS_pubproperty Version

Gets the HTTP message version.(Inherited from CloudHttpErrorInfo.)

Methods

Name Description
System_CAPS_protmethod CopyHeaders(HttpHeaders)

Adds the HTTP message headers to the error information.(Inherited from CloudHttpErrorInfo.)

System_CAPS_pubmethodSystem_CAPS_static Create(HttpRequestMessage)

Creates a new CloudHttpRequestErrorInfo object from an HttpRequestMessage.

System_CAPS_pubmethodSystem_CAPS_static Create(HttpRequestMessage, String)

Creates a new CloudHttpRequestErrorInfo object from an HttpRequestMessage.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Extension Methods

Name Description
System_CAPS_pubmethod AsString()

Overloaded. Gets a standard string representation of an HTTP request.(Defined by HttpExtensions.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Common Namespace

Return to top