DomainOperationException Constructor (String, OperationErrorStatus)
[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 localized exception message and status.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
status As OperationErrorStatus _
)
'Usage
Dim message As String
Dim status As OperationErrorStatus
Dim instance As New DomainOperationException(message, _
status)
public DomainOperationException(
string message,
OperationErrorStatus status
)
public:
DomainOperationException(
String^ message,
OperationErrorStatus status
)
new :
message:string *
status:OperationErrorStatus -> DomainOperationException
public function DomainOperationException(
message : String,
status : OperationErrorStatus
)
Parameters
- message
Type: System.String
The localized exception message.
- status
Type: System.ServiceModel.DomainServices.Client.OperationErrorStatus
The status of the exception.
See Also
Reference
DomainOperationException Class