共用方式為


DocumentQueryException Constructors

Definition

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.

Applies to