ErrorHandling.NeedToCacheErrorInfo Event
Occurs before caching the error information.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Web
Declaration
Event Data
The NeedToCacheErrorInfo event's data class is NeedToCacheErrorInfoEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
ErrorInfo | Gets the ErrorInfo object representing the error that occurred. |
IsCachingNeeded | Specifies if caching the error information is required. |
Remarks
By default, the error information is not cached. Handle this event and set the handler’s NeedToCacheErrorInfoEventArgs.IsCachingNeeded parameter to true, to enable error caching.
See Also