C#
VB
Java
C++
Occurs when an item has expired and is about to be removed from the cache.
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. |