DomainServiceFault Class
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Provides a message type used to communicate exception results between the server and the client.
Inheritance Hierarchy
System.Object
System.ServiceModel.DomainServices.Client.DomainServiceFault
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)
Syntax
'Declaration
<DataContractAttribute(Namespace := "DomainServices")> _
Public Class DomainServiceFault
'Usage
Dim instance As DomainServiceFault
[DataContractAttribute(Namespace = "DomainServices")]
public class DomainServiceFault
[DataContractAttribute(Namespace = L"DomainServices")]
public ref class DomainServiceFault
[<DataContractAttribute(Namespace = "DomainServices")>]
type DomainServiceFault = class end
public class DomainServiceFault
The DomainServiceFault type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DomainServiceFault | Initializes a new instance of the DomainServiceFault class. |
Top
Properties
Name | Description | |
---|---|---|
ErrorCode | Gets or sets the custom code for the error. | |
ErrorMessage | Gets or sets the message that provides details about the error. | |
IsDomainException | Gets or sets a value indicating whether the error information should be reconstructed on the client as a DomainException type. | |
OperationErrors | Gets or sets the operation errors that occurred during this request. | |
StackTrace | Gets or sets the stack trace for the error. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetValidationErrors | Retrieves the validation errors. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
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.