Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

InvalidQueryException Class

Definition

Namespace:
Microsoft.Xrm.Sdk.Data.Exceptions
Assembly:
Microsoft.Xrm.Sdk.Data.dll
Package:
Microsoft.CrmSdk.Data v9.0.2.60

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.

The exception that is thrown when a QueryExpression is not valid for a Data Provider.

public ref class InvalidQueryException sealed : Microsoft::Xrm::Sdk::SdkExceptionBase
[System.Serializable]
public sealed class InvalidQueryException : Microsoft.Xrm.Sdk.SdkExceptionBase
[<System.Serializable>]
type InvalidQueryException = class
 inherit SdkExceptionBase
Public NotInheritable Class InvalidQueryException
Inherits SdkExceptionBase
Inheritance
InvalidQueryException
Attributes

Constructors

Name Description
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.

InvalidQueryException(String)

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

Applies to