DomainServiceErrorInfo.Error Property
[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.]
Gets or sets the exception that occurred.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public Property Error As Exception
Get
Set
'Usage
Dim instance As DomainServiceErrorInfo
Dim value As Exception
value = instance.Error
instance.Error = value
public Exception Error { get; set; }
public:
property Exception^ Error {
Exception^ get ();
void set (Exception^ value);
}
member Error : Exception with get, set
function get Error () : Exception
function set Error (value : Exception)
Property Value
Type: System.Exception
The exception that occurred.