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 | |
---|---|---|
CloudHttpResponseErrorInfo() | Initializes a new instance of the CloudHttpResponseErrorInfo class. |
Properties
Name | Description | |
---|---|---|
Content | Gets the contents of the HTTP message.(Inherited from CloudHttpErrorInfo.) |
|
Headers | Gets the collection of HTTP headers.(Inherited from CloudHttpErrorInfo.) |
|
ReasonPhrase | Gets the reason that is associated with the status code. |
|
StatusCode | Gets the status code of the HTTP response. |
|
Version | Gets the HTTP message version.(Inherited from CloudHttpErrorInfo.) |
Methods
Name | Description | |
---|---|---|
CopyHeaders(HttpHeaders) | Adds the HTTP message headers to the error information.(Inherited from CloudHttpErrorInfo.) |
|
Create(HttpResponseMessage) | Creates a new CloudHttpResponseErrorInfo object from an HttpResponseMessage. |
|
Create(HttpResponseMessage, String) | Creates a new CloudHttpResponseErrorInfo object from an HttpResponseMessage. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
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