Export (0) Print
Expand All
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.

System.Object
  System.Exception
    System.SystemException
      System.InvalidOperationException
        System.Data.Services.Client.DataServiceQueryException

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

The DataServiceQueryException type exposes the following members.

  NameDescription
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.
Top
  NameDescription
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.)
Top
  NameDescription
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.)
Top

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
Show:
© 2014 Microsoft. All rights reserved.