DocumentQueryException 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
DocumentQueryException(String) |
Initializes a new instance of the DocumentQueryException class in the Azure Cosmos DB service. |
DocumentQueryException(String, Exception) |
Initializes a new instance of the DocumentQueryException class in the Azure Cosmos DB service. |
DocumentQueryException(String)
Initializes a new instance of the DocumentQueryException class in the Azure Cosmos DB service.
public DocumentQueryException (string message);
new Microsoft.Azure.Documents.Linq.DocumentQueryException : string -> Microsoft.Azure.Documents.Linq.DocumentQueryException
Public Sub New (message As String)
Parameters
- message
- String
The exception message.
Applies to
DocumentQueryException(String, Exception)
Initializes a new instance of the DocumentQueryException class in the Azure Cosmos DB service.
public DocumentQueryException (string message, Exception innerException);
new Microsoft.Azure.Documents.Linq.DocumentQueryException : string * Exception -> Microsoft.Azure.Documents.Linq.DocumentQueryException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception.