DataServiceRequestException Class
WCF Data Services 5.0
Represents the error thrown if the data service returns a response code less than 200 or greater than 299, or the top-level element in the response is <error>. This class cannot be inherited.
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
System.Data.Services.Client.DataServiceRequestException
System.Exception
System.SystemException
System.InvalidOperationException
System.Data.Services.Client.DataServiceRequestException
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
The DataServiceRequestException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DataServiceRequestException | Initializes a new instance of the DataServiceRequestException class with a system-supplied message that describes the error. |
![]() | DataServiceRequestException(String) | Initializes a new instance of the DataServiceRequestException class with a specified message that describes the error. |
![]() | DataServiceRequestException(String, Exception) | Initializes a new instance of the DataServiceRequestException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
![]() | DataServiceRequestException(String, Exception, DataServiceResponse) | Initializes a new instance of the DataServiceRequestException class. |
| 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 response as a DataServiceResponse object. |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| 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.) |
Show:
