Megosztás a következőn keresztül:


CloudHttpResponseErrorInfo Class

 

Represents the HTTP responses 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.CloudHttpResponseErrorInfo

Syntax

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

Constructors

Name Description
System_CAPS_protmethod CloudHttpResponseErrorInfo()

Initializes a new instance of the CloudHttpResponseErrorInfo 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 ReasonPhrase

Gets the reason that is associated with the status code.

System_CAPS_pubproperty StatusCode

Gets the status code of the HTTP response.

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(HttpResponseMessage)

Creates a new CloudHttpResponseErrorInfo object from an HttpResponseMessage.

System_CAPS_pubmethodSystem_CAPS_static Create(HttpResponseMessage, String)

Creates a new CloudHttpResponseErrorInfo object from an HttpResponseMessage.

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 response.(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