The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

DataServiceQueryException Class

Exception that indicates an error occurred loading the property value from the data service.


Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
public sealed class DataServiceQueryException : InvalidOperationException

The DataServiceQueryException type exposes the following members.

Public methodDataServiceQueryException()Initializes a new instance of the DataServiceQueryException class with a system-supplied message that describes the error.
Public methodDataServiceQueryException(String)Initializes a new instance of the DataServiceQueryException class with a specified message that describes the error.
Public methodDataServiceQueryException(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.
Public methodDataServiceQueryException(String, Exception, QueryOperationResponse)Initializes a new instance of the DataServiceQueryException class.
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertyResponseGets the QueryOperationResponse that indicates the exception results.
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Public methodEquals (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Public methodToString (Inherited from Exception.)

The caller should inspect Response to get the exception results.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.