DocumentClientException DocumentClientException DocumentClientException Class

Definition

The base class for client exceptions in the Azure Cosmos DB service.

[System.Serializable]
public class DocumentClientException : Exception
type DocumentClientException = class
    inherit Exception
Public Class DocumentClientException
Inherits Exception
Inheritance
DocumentClientExceptionDocumentClientExceptionDocumentClientException
Derived
Attributes

Properties

ActivityId ActivityId ActivityId

Gets the activity ID associated with the request from the Azure Cosmos DB service.

Error Error Error

Gets the error code associated with the exception in the Azure Cosmos DB service.

Message Message Message

Gets a message that describes the current exception from the Azure Cosmos DB service.

RequestCharge RequestCharge RequestCharge

Cost of the request in the Azure Cosmos DB service.

ResponseHeaders ResponseHeaders ResponseHeaders

Gets the headers associated with the response from the Azure Cosmos DB service.

RetryAfter RetryAfter RetryAfter

Gets the recommended time interval after which the client can retry failed requests from the Azure Cosmos DB service

ScriptLog ScriptLog ScriptLog

Gets the console.log output from server side scripts statements when script logging is enabled.

StatusCode StatusCode StatusCode

Gets or sets the request status code in the Azure Cosmos DB service.

Applies to