DocumentClientException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The base class for client exceptions in the Azure Cosmos DB service.
public class DocumentClientException : Exception
type DocumentClientException = class
inherit Exception
Public Class DocumentClientException
Inherits Exception
- Inheritance
-
DocumentClientException
- Derived
Properties
ActivityId |
Gets the activity ID associated with the request from the Azure Cosmos DB service. |
Error |
Gets the error code associated with the exception in the Azure Cosmos DB service. |
Message |
Gets a message that describes the current exception from the Azure Cosmos DB service. |
RequestCharge |
Cost of the request in the Azure Cosmos DB service. |
ResponseHeaders |
Gets the headers associated with the response from the Azure Cosmos DB service. |
RetryAfter |
Gets the recommended time interval after which the client can retry failed requests from the Azure Cosmos DB service |
ScriptLog |
Gets the console.log output from server side scripts statements when script logging is enabled. |
StatusCode |
Gets or sets the request status code in the Azure Cosmos DB service. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應