Share via


DataServiceQueryException Class

Definition

Exception that indicates an error occurred while querying the data service.

[System.Serializable]
public sealed class DataServiceQueryException : InvalidOperationException
[<System.Serializable>]
type DataServiceQueryException = class
    inherit InvalidOperationException
Public NotInheritable Class DataServiceQueryException
Inherits InvalidOperationException
Inheritance
DataServiceQueryException
Attributes

Constructors

DataServiceQueryException()

Initializes a new instance of the DataServiceQueryException class with a system-supplied message that describes the error.

DataServiceQueryException(String)

Initializes a new instance of the DataServiceQueryException class with a specified message that describes the error.

DataServiceQueryException(String, Exception)

Initializes a new instance of the DataServiceQueryException class with a specified error message and a reference to the inner exception that is the cause of this exception.

DataServiceQueryException(String, Exception, QueryOperationResponse)

Initializes a new instance of the DataServiceQueryException class.

Properties

Response

Gets the QueryOperationResponse that indicates the exception results.

Applies to