122 if (ex.InnerException !=
null)
132#if !NETSTANDARD2_0 && !NET5_0
140 var errorInfo =
this;
142 while (source !=
null)
144 errorInfo.Message = source.Message;
145 errorInfo.ExceptionTypeName = source.ExceptionTypeName;
146 errorInfo.Source = source.Source;
147 errorInfo.StackTrace = source.StackTrace;
148 errorInfo.TargetSiteName = source.TargetSiteName;
149 source = source.InnerError;
153 errorInfo = errorInfo.InnerError;
Maintains metadata about a property.
This is a base class from which readonly business classes can be derived.
virtual void LoadProperty(IPropertyInfo propertyInfo, object newValue)
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does...
object GetProperty(IPropertyInfo propertyInfo)
Gets a property's value as a specified type.
Message containing details about any server-side exception.
static readonly PropertyInfo< string > StackTraceProperty
Stack trace from the exception object.
static readonly PropertyInfo< string > TargetSiteNameProperty
TargetSiteName of the exception object.
static readonly PropertyInfo< DataPortalErrorInfo > InnerErrorProperty
HttpErrorInfo object containing information about any inner exception of the original exception.
static readonly PropertyInfo< string > MessageProperty
Message from the exception object.
static readonly PropertyInfo< string > ExceptionTypeNameProperty
Type name of the exception object.
DataPortalErrorInfo(Exception ex)
Creates an instance of the object.
string ExceptionTypeName
Type name of the exception object.
string TargetSiteName
TargetSiteName of the exception object.
DataPortalErrorInfo()
Creates an empty instance of the type.
string Message
Message from the exception object.
DataPortalErrorInfo(Csla.WcfPortal.WcfErrorInfo info)
Creates an instance of the type by copying the WcfErrorInfo data.
static readonly PropertyInfo< string > SourceProperty
Source of the exception object.
DataPortalErrorInfo InnerError
HttpErrorInfo object containing information about any inner exception of the original exception.
string StackTrace
Stack trace from the exception object.
string Source
Source of the exception object.
@ Serializable
Prevents updating or inserting until the transaction is complete.