Freigeben über


InvalidQueryException Constructors

Definition

Overloads

InvalidQueryException(Exception)

Initializes a new instance of the InvalidQueryException class with the specified inner exception.

InvalidQueryException(String)

Initializes a new instance of the InvalidQueryException class with the specified error message.

InvalidQueryException(Exception, String)

Initializes a new instance of the InvalidQueryException class with the specified error message and inner exception.

InvalidQueryException(Exception)

Initializes a new instance of the InvalidQueryException class with the specified inner exception.

public:
 InvalidQueryException(Exception ^ innerException);
public InvalidQueryException (Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.InvalidQueryException : Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.InvalidQueryException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

The exception that is the cause of the current exception.

Applies to

InvalidQueryException(String)

Initializes a new instance of the InvalidQueryException class with the specified error message.

public:
 InvalidQueryException(System::String ^ message);
public InvalidQueryException (string message);
new Microsoft.Xrm.Sdk.Data.Exceptions.InvalidQueryException : string -> Microsoft.Xrm.Sdk.Data.Exceptions.InvalidQueryException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

InvalidQueryException(Exception, String)

Initializes a new instance of the InvalidQueryException class with the specified error message and inner exception.

public:
 InvalidQueryException(Exception ^ innerException, System::String ^ message);
public InvalidQueryException (Exception innerException, string message);
new Microsoft.Xrm.Sdk.Data.Exceptions.InvalidQueryException : Exception * string -> Microsoft.Xrm.Sdk.Data.Exceptions.InvalidQueryException
Public Sub New (innerException As Exception, message As String)

Parameters

innerException
Exception

>The exception that is the cause of the current exception.

message
String

The message that describes the error.

Applies to