DomainException Class

WCF RIA Services

[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.

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)

public sealed class DomainException : Exception

The DomainException type exposes the following members.

  NameDescription
Public methodDomainException()Initializes a new instance of the DomainException class with a system-supplied message that describes the error.
Public methodDomainException(String)Initializes a new instance of the DomainException class with a specified message that describes the error.
Public methodDomainException(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.
Public methodDomainException(String, Int32)Initializes a new instance of the DomainException class that has the specified error message and a custom error code.
Public methodDomainException(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.
Public methodDomainException(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

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyErrorCodeGets or sets the custom error code for this exception.
Public propertyHelpLink (Inherited from Exception.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTraceGets the exception stack trace. (Overrides Exception.StackTrace.)
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
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: