DomainServiceErrorInfo Constructor
[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 DomainServiceErrorInfo class.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public Sub New ( _
exception As Exception _
)
'Usage
Dim exception As Exception
Dim instance As New DomainServiceErrorInfo(exception)
public DomainServiceErrorInfo(
Exception exception
)
public:
DomainServiceErrorInfo(
Exception^ exception
)
new :
exception:Exception -> DomainServiceErrorInfo
public function DomainServiceErrorInfo(
exception : Exception
)
Parameters
- exception
Type: System.Exception
The exception that occurred.