DataServiceQueryException Class
Exception that indicates an error occurred loading the property value from the data service.
Inheritance Hierarchy
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)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class DataServiceQueryException _
Inherits InvalidOperationException
'Usage
Dim instance As DataServiceQueryException
[SerializableAttribute]
public sealed class DataServiceQueryException : InvalidOperationException
[SerializableAttribute]
public ref class DataServiceQueryException sealed : public InvalidOperationException
[<SealedAttribute>]
[<SerializableAttribute>]
type DataServiceQueryException =
class
inherit InvalidOperationException
end
public final class DataServiceQueryException extends InvalidOperationException
The DataServiceQueryException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Response | Gets the QueryOperationResponse that indicates the exception results. | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Security Critical. (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
ToString | (Inherited from Exception.) |
Top
Remarks
The caller should inspect Response to get the exception results.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.