Delegate CacheItemPolicy.CacheItemRemovedCallback
- Namespace
- Dynamicweb.Caching
- Assembly
- Dynamicweb.Core.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
stringThe cache key that was removed.
value
objectThe value that was removed.
removedReason
CacheItemRemovedReasonThe removed reason why the cache item was removed.