This documentation is archived and is not being maintained.
CacheItemRemovedReason Enumeration
.NET Framework 1.1
Specifies the reason an item was removed from the Cache.
[Visual Basic] <Serializable> Public Enum CacheItemRemovedReason [C#] [Serializable] public enum CacheItemRemovedReason [C++] [Serializable] __value public enum CacheItemRemovedReason [JScript] public Serializable enum CacheItemRemovedReason
Remarks
This enumeration works in concert with the CacheItemRemovedCallback delegate to notify your ASP.NET applications when and why an object was removed from the Cache.
Members
| Member name | Description |
|---|---|
| DependencyChanged | The item is removed from the cache because a file or key dependency changed. |
| Expired | The item is removed from the cache because it expired. |
| Removed | The item is removed from the cache by a Remove method call or by an Insert 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
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
Assembly: System.Web (in System.Web.dll)
See Also
System.Web.Caching Namespace | Cache | Insert | CacheItemRemovedCallback
Show: