Redigera

Dela via


DatabaseRetryableException Class

Definition

The exception that's thrown when the operation failed with a specific reason and it's eligible to retry in the future.

public ref class DatabaseRetryableException : System::Cloud::DocumentDb::DatabaseException
public class DatabaseRetryableException : System.Cloud.DocumentDb.DatabaseException
type DatabaseRetryableException = class
    inherit DatabaseException
Public Class DatabaseRetryableException
Inherits DatabaseException
Inheritance
DatabaseRetryableException

Remarks

Http code 429, 503, 408. Covered codes may vary on specific engine requirements.

Constructors

DatabaseRetryableException()

Initializes a new instance of the DatabaseRetryableException class.

DatabaseRetryableException(String, Exception, Int32, Int32, Nullable<TimeSpan>, RequestInfo)

Initializes a new instance of the DatabaseRetryableException class.

DatabaseRetryableException(String, Exception)

Initializes a new instance of the DatabaseRetryableException class.

DatabaseRetryableException(String)

Initializes a new instance of the DatabaseRetryableException class.

Properties

HttpStatusCode

Gets the status code indicating the exception root cause.

(Inherited from DatabaseException)
RequestInfo

Gets the request information.

(Inherited from DatabaseException)
RetryAfter

Gets the retry-after time.

StatusCode

Gets the status code indicating the exception root cause.

(Inherited from DatabaseException)
SubStatusCode

Gets the status code indicating the exception root cause.

(Inherited from DatabaseException)

Applies to