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 reason an item was removed from the Cache.
\r
27 public enum CacheItemRemovedReason {
\r
31 DependencyChanged = 4
\r
35 /// Defines a callback method for notifying applications when a cached item is removed from the Cache.
\r
37 /// <param name="key">The index location for the item removed from the cache. </param>
\r
38 /// <param name="value">The Object item removed from the cache. </param>
\r
39 /// <param name="reason">The reason the item was removed from the cache, as specified by the CacheItemRemovedReason enumeration.</param>
\r
40 public delegate void CacheItemRemovedCallback(string key, object value, CacheItemRemovedReason reason);
\r