共用方式為


IResourceResponseBase.StatusCode Property

Definition

Gets the HTTP status code associated with the response.

public System.Net.HttpStatusCode StatusCode { get; }
member this.StatusCode : System.Net.HttpStatusCode
Public ReadOnly Property StatusCode As HttpStatusCode

Property Value

The HTTP status code associated with the response.

Remarks

This is exposed for mocking purposes for the Azure Cosmos DB service.

Applies to