Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.0+ platform documentation. This link will take you to the parent topic of the current section.

ErrorHandling.NeedToCacheErrorInfo Event

Occurs before caching the error information.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v23.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
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