←Select platform

CacheItemExpiring Event

Summary

Occurs when an item has expired and is about to be removed from the cache.

Syntax
C#
VB
C++
Java
public event EventHandler<CacheItemExpiringEventArgs> CacheItemExpiring 
Public Event CacheItemExpiring As EventHandler(Of Leadtools.Caching.CacheItemExpiringEventArgs) 
public:  
   event EventHandler<Leadtools::Caching::CacheItemExpiringEventArgs^>^ CacheItemExpiring 
public abstract CacheItemExpiringEvent cacheItemExpiring() 
Remarks

The ObjectCache.CacheItemExpiring event occurs when an item has expired and is about to be removed from the cache. This event will receive an object of type CacheItemExpiringEventArgs populated as follows:

Member Value

Key

The expiring item key.

RegionName

The expiring item region name.

Abort

Allows the user to abort this operation. Resulting on the item being left in the cache.

Event Data
ParameterTypeDescription
senderobjectThe source of the event.
eCacheItemExpiringEventArgsThe event data.
Requirements

Target Platforms

Help Version 22.0.2021.8.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.