ErrorHandling.NeedToCacheErrorInfo Event
In This Article
Occurs before caching the error information.
Namespace: DevExpress.ExpressApp.Web
Assembly: DevExpress.ExpressApp.Web.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Web
#Declaration
public event EventHandler<NeedToCacheErrorInfoEventArgs> NeedToCacheErrorInfo
#Event Data
The NeedToCacheErrorInfo event's data class is NeedToCacheErrorInfoEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Error |
Gets the Error |
Is |
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