Condividi tramite


DocumentQueryException Class

Definition

Represents an exception from the Azure Cosmos DB service queries.

public sealed class DocumentQueryException : Microsoft.Azure.Documents.DocumentClientException
type DocumentQueryException = class
    inherit DocumentClientException
Public NotInheritable Class DocumentQueryException
Inherits DocumentClientException
Inheritance
DocumentQueryException

Constructors

DocumentQueryException(String, Exception)

Initializes a new instance of the DocumentQueryException class in the Azure Cosmos DB service.

DocumentQueryException(String)

Initializes a new instance of the DocumentQueryException class in the Azure Cosmos DB service.

Properties

ActivityId

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

(Inherited from DocumentClientException)
Error

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

(Inherited from DocumentClientException)
Message

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

(Inherited from DocumentClientException)
RequestCharge

Cost of the request in the Azure Cosmos DB service.

(Inherited from DocumentClientException)
ResponseHeaders

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

(Inherited from DocumentClientException)
RetryAfter

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

(Inherited from DocumentClientException)
ScriptLog

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

(Inherited from DocumentClientException)
StatusCode

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

(Inherited from DocumentClientException)

Applies to