Redigera

Dela via


DatabaseRetryableException Constructors

Definition

Overloads

DatabaseRetryableException()

Initializes a new instance of the DatabaseRetryableException class.

DatabaseRetryableException(String)

Initializes a new instance of the DatabaseRetryableException class.

DatabaseRetryableException(String, Exception)

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()

Initializes a new instance of the DatabaseRetryableException class.

public:
 DatabaseRetryableException();
public DatabaseRetryableException();
Public Sub New ()

Applies to

DatabaseRetryableException(String)

Initializes a new instance of the DatabaseRetryableException class.

public:
 DatabaseRetryableException(System::String ^ message);
public DatabaseRetryableException(string message);
new System.Cloud.DocumentDb.DatabaseRetryableException : string -> System.Cloud.DocumentDb.DatabaseRetryableException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

DatabaseRetryableException(String, Exception)

Initializes a new instance of the DatabaseRetryableException class.

public:
 DatabaseRetryableException(System::String ^ message, Exception ^ innerException);
public DatabaseRetryableException(string message, Exception innerException);
new System.Cloud.DocumentDb.DatabaseRetryableException : string * Exception -> System.Cloud.DocumentDb.DatabaseRetryableException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

The exception related to the missing data.

Applies to

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

Initializes a new instance of the DatabaseRetryableException class.

public:
 DatabaseRetryableException(System::String ^ message, Exception ^ innerException, int statusCode, int subStatusCode, Nullable<TimeSpan> retryAfter, System::Cloud::DocumentDb::RequestInfo requestInfo);
public DatabaseRetryableException(string message, Exception innerException, int statusCode, int subStatusCode, TimeSpan? retryAfter, System.Cloud.DocumentDb.RequestInfo requestInfo);
new System.Cloud.DocumentDb.DatabaseRetryableException : string * Exception * int * int * Nullable<TimeSpan> * System.Cloud.DocumentDb.RequestInfo -> System.Cloud.DocumentDb.DatabaseRetryableException
Public Sub New (message As String, innerException As Exception, statusCode As Integer, subStatusCode As Integer, retryAfter As Nullable(Of TimeSpan), requestInfo As RequestInfo)

Parameters

message
String

The exception message.

innerException
Exception

Exception related to the missing data.

statusCode
Int32

Exception status code.

subStatusCode
Int32

Exception sub status code.

retryAfter
Nullable<TimeSpan>

Retry-after timespan.

requestInfo
RequestInfo

The request.

Applies to