System.Web.Caching (system.web.dll)delegate

Functions with the CacheItemRemovedCallback signature can be used to respond to the onRemoveCallback when an item is dropped from the cache. For example, this could allow you to perform related cleanup tasks. You are provided with the cache object, its key, and the reason why it was removed (using the CacheItemRemovedReason enumeration).

To specify that a given method should be used for the onRemoveCallback, create a CacheItemRemovedCallback delegate that points to the method, and pass it as an argument to the Cache.Insert( ) method.

public delegate void CacheItemRemovedCallback(string key, object value, CacheItemRemovedReason reason);

Passed To

Cache.{Add( ), Insert( )}

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace