Share via


CloudHttpResponseErrorInfo.StatusCode Property

Gets the status code of the HTTP response.

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

Usage

'Usage
Dim instance As CloudHttpResponseErrorInfo
Dim value As HttpStatusCode

value = instance.StatusCode

instance.StatusCode = value

Syntax

'Declaration
Public Property StatusCode As HttpStatusCode
public HttpStatusCode StatusCode { get; protected set; }
public:
property HttpStatusCode StatusCode {
    HttpStatusCode get ();
    protected: void set (HttpStatusCode value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public HttpStatusCode get_StatusCode ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
protected void set_StatusCode (HttpStatusCode value)
CompilerGeneratedAttribute 
public function get StatusCode () : HttpStatusCode

CompilerGeneratedAttribute 
protected function set StatusCode (value : HttpStatusCode)

Property Value

The status code of the HTTP response.

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.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

CloudHttpResponseErrorInfo Class
CloudHttpResponseErrorInfo Members
Microsoft.WindowsAzure.Common Namespace