CosmosException.StatusCode Property

Definition

Gets the request completion status code from the Azure Cosmos DB service.

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

Property Value

System.Net.HttpStatusCode

The request completion status code

Applies to