DomainException 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.]
Indicates that an unrecoverable error has occurred during the execution of a domain operation.
Inheritance Hierarchy
System.Object
System.Exception
System.ServiceModel.DomainServices.Client.DomainException
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public NotInheritable Class DomainException _
Inherits Exception
'Usage
Dim instance As DomainException
public sealed class DomainException : Exception
public ref class DomainException sealed : public Exception
[<SealedAttribute>]
type DomainException =
class
inherit Exception
end
public final class DomainException extends Exception
The DomainException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DomainException() | Initializes a new instance of the DomainException class with a system-supplied message that describes the error. | |
DomainException(String) | Initializes a new instance of the DomainException class with a specified message that describes the error. | |
DomainException(String, Exception) | Initializes a new instance of the DomainException class with a specified error message and a reference to the inner exception that is the cause of this exception. | |
DomainException(String, Int32) | Initializes a new instance of the DomainException class that has the specified error message and a custom error code. | |
DomainException(String, Int32, Exception) | Initializes a new instance of the DomainException class that has the specified error message, a custom error code, and the inner exception that is the cause of this exception. | |
DomainException(String, Int32, String) | Initializes a new instance of the DomainException class with a localized exception message, a custom error code and a stack trace. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
ErrorCode | Gets or sets the custom error code for this exception. | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | Gets the exception stack trace. (Overrides Exception.StackTrace.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
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.