Share via


DomainOperationException Constructor (String)

[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 with a specified message that describes the error.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New DomainOperationException(message)
public DomainOperationException(
    string message
)
public:
DomainOperationException(
    String^ message
)
new : 
        message:string -> DomainOperationException
public function DomainOperationException(
    message : String
)

Parameters

  • message
    Type: System.String
    The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

See Also

Reference

DomainOperationException Class

DomainOperationException Overload

System.ServiceModel.DomainServices.Client Namespace