Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > ObjectCache Class : CacheItemExpired Event |
public event EventHandler<CacheItemExpiredEventArgs> CacheItemExpired
'Declaration
Public Event CacheItemExpired As EventHandler(Of CacheItemExpiredEventArgs)
'Usage
Dim instance As ObjectCache Dim handler As EventHandler(Of CacheItemExpiredEventArgs) AddHandler instance.CacheItemExpired, handler
public abstract CacheItemExpiringEvent cacheItemExpiring()
public: event EventHandler<CacheItemExpiredEventArgs^>^ CacheItemExpired
The event handler receives an argument of type CacheItemExpiredEventArgs containing data related to this event. The following CacheItemExpiredEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Key | The expired item key. |
RegionName | The expired item region name. |
The ObjectCache.CacheItemExpired event occurs when an expired item has been removed from the cache. This event will receive an object of type CacheItemExpiredEventArgs populated as follows:
Member | Value |
---|---|
CacheItemExpiredEventArgs.Key |
The expired item key. |
CacheItemExpiredEventArgs.RegionName |
The expired item region name. |