←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly