Occurs when an item has expired and is about to be removed from the cache.
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()
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. |
Parameter | Type | Description |
---|---|---|
sender | object | The source of the event. |
e | CacheItemExpiringEventArgs | The event data. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document