DataServiceRequestException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Serializable]
public sealed class DataServiceRequestException : InvalidOperationException
[<System.Serializable>]
type DataServiceRequestException = class
inherit InvalidOperationException
Public NotInheritable Class DataServiceRequestException
Inherits InvalidOperationException
- Inheritance
-
DataServiceRequestException
- Attributes
Constructors
DataServiceRequestException() |
Initializes a new instance of the DataServiceRequestException class with a system-supplied message that describes the error. |
DataServiceRequestException(String, Exception, DataServiceResponse) |
Initializes a new instance of the DataServiceRequestException class. |
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) |
Initializes a new instance of the DataServiceRequestException class with a specified message that describes the error. |
Properties
Response |
Gets the response as a DataServiceResponse object. |