DocumentClientException Class

Definition

The base class for client exceptions in the Azure DocumentDB database service.

public class DocumentClientException : Exception
Inheritance
DocumentClientException
Derived

Properties

ActivityId

Gets the activity ID associated with the request from the Azure DocumentDB database service.

Error

Gets the error code associated with the exception in the Azure DocumentDB database service.

Message

Gets a message that describes the current exception from the Azure DocumentDB database service.

RequestCharge

Cost of the request in the Azure DocumentDB database service.

ResponseHeaders

Gets the headers associated with the response from the Azure DocumentDB database service.

RetryAfter

Gets the recommended time interval after which the client can retry failed requests from the Azure DocumentDB database service

StatusCode

Gets or sets the request status code in the Azure DocumentDB database service.

Extension Methods

CheckIotHubErrorCode(Exception, ErrorCode[])
DisablePrepareForRethrow(Exception)
GetReferenceCode(Exception)
IsFatal(Exception)
PrepareForRethrow(Exception)
ToStringSlim(Exception)
Unwind(Exception)
Unwind(Exception, Type[])
Unwind<TException>(Exception)
IsWrappedExceptionTransient(Exception)
FindInnerException<T>(Exception)