Export (0) Print
Expand All

DataServiceException Class

Represents an instance of the DataServiceException class with a specified message that describes the error.

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)

[SerializableAttribute]
public sealed class DataServiceException : InvalidOperationException

The DataServiceException type exposes the following members.

  NameDescription
Public methodDataServiceException()Initializes a new instance of the DataServiceException class with a system-supplied message that describes the error.
Public methodDataServiceException(String)Initializes a new instance of the DataServiceException class with a specified message that describes the error.
Public methodDataServiceException(Int32, String)Initializes a new instance of the DataServiceException class.
Public methodDataServiceException(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.
Public methodDataServiceException(Int32, String, String, String, Exception)Initializes a new instance of the DataServiceException class.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyErrorCodeGets the error code.
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertyMessageLanguageGets the error message language.
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyStatusCodeGets the HTTP status code returned by the 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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft