DataServiceException Class
Represents an instance of the DataServiceException class with a specified message that describes the error.
Inheritance Hierarchy
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
System.Data.Services.DataServiceException
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class DataServiceException _
Inherits InvalidOperationException
'Usage
Dim instance As DataServiceException
[SerializableAttribute]
public sealed class DataServiceException : InvalidOperationException
[SerializableAttribute]
public ref class DataServiceException sealed : public InvalidOperationException
[<SealedAttribute>]
[<SerializableAttribute>]
type DataServiceException =
class
inherit InvalidOperationException
end
public final class DataServiceException extends InvalidOperationException
The DataServiceException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
DataServiceException() | Initializes a new instance of the DataServiceException class with a system-supplied message that describes the error. |
![]() |
DataServiceException(String) | Initializes a new instance of the DataServiceException class with a specified message that describes the error. |
![]() |
DataServiceException(Int32, String) | Initializes a new instance of the DataServiceException class. |
![]() |
DataServiceException(String, Exception) | Initializes a new instance of the DataServiceException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
![]() |
DataServiceException(Int32, String, String, String, Exception) | Initializes a new instance of the DataServiceException class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Data | (Inherited from Exception.) |
![]() |
ErrorCode | Gets the error code. |
![]() |
HelpLink | (Inherited from Exception.) |
![]() |
HResult | (Inherited from Exception.) |
![]() |
InnerException | (Inherited from Exception.) |
![]() |
Message | (Inherited from Exception.) |
![]() |
MessageLanguage | Gets the error message language. |
![]() |
Source | (Inherited from Exception.) |
![]() |
StackTrace | (Inherited from Exception.) |
![]() |
StatusCode | Gets the HTTP status code returned by the 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
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.