Share via


DomainException Constructor

Include Protected Members
Include Inherited Members

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

Initializes a new instance of the DomainException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

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

See Also

Reference

DomainException Class

System.ServiceModel.DomainServices.Client Namespace