Delegate CacheItemPolicy.CacheItemRemovedCallback
- Namespace
- Dynamicweb.Caching
- Assembly
- Dynamicweb.Caching.dll
Delegate CacheItemRemovedCallback. This delegate is used to handle scenarios where cache items are removed from the cache.
public delegate void CacheItemPolicy.CacheItemRemovedCallback(string cacheKey, object value, CacheItemRemovedReason removedReason)
Parameters
cacheKey
string- The cache key that was removed.
value
object- The value that was removed.
removedReason
CacheItemRemovedReason- The removed reason why the cache item was removed.