2 // System.Web.Caching
\r
5 // Patrik Torstensson (Patrik.Torstensson@labs2.com)
\r
7 // (C) Copyright Patrik Torstensson, 2001
\r
9 namespace System.Web.Caching
\r
12 /// Specifies the relative priority of items stored in the Cache.
\r
14 public enum CacheItemPriority {
\r
25 /// Specifies the rate at which the priority of items stored in the Cache are downgraded when not accessed frequently.
\r
27 public enum CacheItemPriorityDecay {
\r
36 /// Specifies the reason an item was removed from the Cache.
\r
38 public enum CacheItemRemovedReason {
\r
46 /// Defines a callback method for notifying applications when a cached item is removed from the Cache.
\r
48 /// <param name="key">The index location for the item removed from the cache. </param>
\r
49 /// <param name="value">The Object item removed from the cache. </param>
\r
50 /// <param name="reason">The reason the item was removed from the cache, as specified by the CacheItemRemovedReason enumeration.</param>
\r
51 public delegate void CacheItemRemovedCallback(string key, object value, CacheItemRemovedReason reason);
\r