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