DatabaseException Constructors
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.
Overloads
DatabaseException() |
Initializes a new instance of the DatabaseException class. |
DatabaseException(String) |
Initializes a new instance of the DatabaseException class. |
DatabaseException(String, Exception) |
Initializes a new instance of the DatabaseException class. |
DatabaseException(String, Int32, Int32, RequestInfo) |
Initializes a new instance of the DatabaseException class. |
DatabaseException(String, Exception, Int32, Int32, RequestInfo) |
Initializes a new instance of the DatabaseException class. |
DatabaseException()
Initializes a new instance of the DatabaseException class.
public:
DatabaseException();
public DatabaseException();
Public Sub New ()
Applies to
DatabaseException(String)
Initializes a new instance of the DatabaseException class.
public:
DatabaseException(System::String ^ message);
public DatabaseException(string message);
new System.Cloud.DocumentDb.DatabaseException : string -> System.Cloud.DocumentDb.DatabaseException
Public Sub New (message As String)
Parameters
- message
- String
The exception message.
Applies to
DatabaseException(String, Exception)
Initializes a new instance of the DatabaseException class.
public:
DatabaseException(System::String ^ message, Exception ^ innerException);
public DatabaseException(string message, Exception innerException);
new System.Cloud.DocumentDb.DatabaseException : string * Exception -> System.Cloud.DocumentDb.DatabaseException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception causing this exception.
Applies to
DatabaseException(String, Int32, Int32, RequestInfo)
Initializes a new instance of the DatabaseException class.
public:
DatabaseException(System::String ^ message, int statusCode, int subStatusCode, System::Cloud::DocumentDb::RequestInfo requestInfo);
public DatabaseException(string message, int statusCode, int subStatusCode, System.Cloud.DocumentDb.RequestInfo requestInfo);
new System.Cloud.DocumentDb.DatabaseException : string * int * int * System.Cloud.DocumentDb.RequestInfo -> System.Cloud.DocumentDb.DatabaseException
Public Sub New (message As String, statusCode As Integer, subStatusCode As Integer, requestInfo As RequestInfo)
Parameters
- message
- String
The exception message.
- statusCode
- Int32
Exception status code.
- subStatusCode
- Int32
Exception sub status code.
- requestInfo
- RequestInfo
The request.
Applies to
DatabaseException(String, Exception, Int32, Int32, RequestInfo)
Initializes a new instance of the DatabaseException class.
public:
DatabaseException(System::String ^ message, Exception ^ innerException, int statusCode, int subStatusCode, System::Cloud::DocumentDb::RequestInfo requestInfo);
public DatabaseException(string message, Exception innerException, int statusCode, int subStatusCode, System.Cloud.DocumentDb.RequestInfo requestInfo);
new System.Cloud.DocumentDb.DatabaseException : string * Exception * int * int * System.Cloud.DocumentDb.RequestInfo -> System.Cloud.DocumentDb.DatabaseException
Public Sub New (message As String, innerException As Exception, statusCode As Integer, subStatusCode As Integer, requestInfo As RequestInfo)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception causing this exception.
- statusCode
- Int32
Exception status code.
- subStatusCode
- Int32
Exception sub status code.
- requestInfo
- RequestInfo
The request.