Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

CacheItemExpiring Event






Occurs when an item has expired and is about to be removed from the cache.
Syntax
public event EventHandler<CacheItemExpiringEventArgs> CacheItemExpiring
'Declaration
 
Public Event CacheItemExpiring As EventHandler(Of CacheItemExpiringEventArgs)
'Usage
 
Dim instance As ObjectCache
Dim handler As EventHandler(Of CacheItemExpiringEventArgs)
 
AddHandler instance.CacheItemExpiring, handler
public abstract CacheItemExpiringEvent cacheItemExpiring()
            
public:
event EventHandler<CacheItemExpiringEventArgs^>^ CacheItemExpiring
Event Data

The event handler receives an argument of type CacheItemExpiringEventArgs containing data related to this event. The following CacheItemExpiringEventArgs properties provide information specific to this event.

PropertyDescription
Abort Indicates whether the operation should be aborted.
Key The expiring item key.
RegionName The expiring item region name.
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
CacheItemExpiringEventArgs.Key

The expiring item key.

CacheItemExpiringEventArgs.RegionName

The expiring item region name.

CacheItemExpiringEventArgs.Abort

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

Requirements

Target Platforms

See Also

Reference

ObjectCache Class
ObjectCache Members

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features