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