System.Web.Caching.CacheItemRemovedReason Enumeration

Specifies the reason an item was removed from the System.Web.Caching.Cache.

Syntax

public enum CacheItemRemovedReason

Remarks

This enumeration is used by the System.Web.Caching.CacheItemRemovedCallback delegate to notify your ASP.NET applications when and why an object was removed from the System.Web.Caching.Cache.

Members

Member NameDescription
DependencyChanged

The item is removed from the cache because the cache dependency associated with it changed.

Expired

The item is removed from the cache because it expired.

Removed

The item is removed from the cache by a Cache.Remove(string) method call or by an Cache.Insert(string, object) method call that specified the same key.

Underused

The item is removed from the cache because the system removed it to free memory.

Requirements

Namespace: System.Web.Caching
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0