共用方式為


ResourceResponse.StatusCode Property

Gets the HTTP status code associated with the response.

Namespace: Microsoft.Azure.Documents.Client
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

Usage

'Usage
Dim instance As ResourceResponse(Of T)
Dim value As HttpStatusCode

value = instance.StatusCode

Syntax

'Declaration
Public ReadOnly Property StatusCode As HttpStatusCode
public HttpStatusCode StatusCode { get; }
public:
property HttpStatusCode StatusCode {
    HttpStatusCode get ();
}
/** @property */
public HttpStatusCode get_StatusCode ()
public function get StatusCode () : HttpStatusCode

Property Value

The HTTP status code associated with the 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

ResourceResponse Class
ResourceResponse Members
Microsoft.Azure.Documents.Client Namespace