I\'ve got a simple object being cached like this:
_myCache.Add(someKey, someObj, policy);
Where _myCache is declared as Obje
_myCache
Obje
There's a property on the CacheItemPolicy called RemovedCallback which is of type: CacheEntryRemovedCallback. Not sure why they didn't go the standard event route, but that should do what you need.
CacheItemPolicy
RemovedCallback
CacheEntryRemovedCallback
http://msdn.microsoft.com/en-us/library/system.runtime.caching.cacheitempolicy.removedcallback.aspx