←Select platform

CacheItemExpiring Event

Summary

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

Syntax
C#
VB
Java
C++
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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly