This topic has not yet been rated - Rate this topic

DataServiceClientException Class

March 22, 2012

Represents errors from an client application.

System.Object
  System.Exception
    System.SystemException
      System.InvalidOperationException
        System.Data.Services.Client.DataServiceClientException

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)
public sealed class DataServiceClientException : InvalidOperationException

The DataServiceClientException type exposes the following members.

  Name Description
Public method DataServiceClientException() Initializes a new instance of the DataServiceClientException class by using a system-supplied message that describes the error.
Public method DataServiceClientException(String) Initializes a new instance of the DataServiceClientException class by using a specified message that describes the error.
Public method DataServiceClientException(String, Exception) Initializes a new instance of the DataServiceClientException class by using a specified error message and a reference to the inner exception that is the cause of this exception.
Public method DataServiceClientException(String, Int32) Initializes a new instance of the DataServiceClientException class.
Public method DataServiceClientException(String, Exception, Int32) Initializes a new instance of the DataServiceClientException class.
Top
  Name Description
Public property Data (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property StatusCode Gets the HTTP error status code returned after a DataServiceClientException.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)
Top
  Name Description
Public Extension Method PrepareForRethrow Preserve callstack when rethrowing. (Defined by ExceptionExtensions.)
Top

Windows Phone OS

Supported in: 7.1

Windows Phone

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

Did you find this helpful?
(1500 characters remaining)