Skip to main content
A newer version of this page is available. .

ErrorHandling.NeedToCacheErrorInfo Event

Occurs before caching the error information.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.1.dll

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
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