Compartilhar via


DomainOperationException 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 DomainOperationException 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 DomainOperationException() Initializes a new instance of the DomainOperationException class.
Public method DomainOperationException(String) Initializes a new instance of the DomainOperationException class with a specified message that describes the error.
Public method DomainOperationException(String, Exception) Initializes a new instance of the DomainOperationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Public method DomainOperationException(String, OperationErrorStatus) Initializes a new instance of the DomainOperationException class with a localized exception message and status.
Public method DomainOperationException(String, OperationErrorStatus, Int32) Initializes a new instance of the DomainOperationException class with a localized exception message, status and custom error code.
Public method DomainOperationException(String, OperationErrorStatus, Int32, String) Initializes a new instance of the DomainOperationException class with optional localized message, status, custom error code, and stack trace of the exception.

Top

See Also

Reference

DomainOperationException Class

System.ServiceModel.DomainServices.Client Namespace