Specifies the relative priority of items stored in the System.Web.Caching.Cache
object.
Namespace: MonoSoftware.Web.CachingAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public enum CacheItemPriorityLevel |
Visual Basic |
---|
Public Enumeration CacheItemPriorityLevel |
Visual C++ |
---|
public enum class CacheItemPriorityLevel |
F# |
---|
type CacheItemPriorityLevel |
Members
Member name | Value | Description | |
---|---|---|---|
Low | 1 | Cache items with this priority level are the most likely to be deleted from the cache. | |
BelowNormal | 2 | Cache items with this priority level are more likely to be deleted from the cache as the server frees system memory than items assigned a MonoSoftware.Web.Caching.CacheItemPriorityLevel.Normal priority. | |
Normal | 3 | Cache items with this priority level are likely to be deleted from the cache as the server frees system memory only after those items with MonoSoftware.Web.Caching.CacheItemPriorityLevel.Low or System.Web.Caching.CacheItemPriority.BelowNormal priority. This is the default. | |
Default | 3 | The default value for a cached item's priority is MonoSoftware.Web.Caching.CacheItemPriorityLevel.Normal. | |
AboveNormal | 4 | Cache items with this priority level are less likely to be deleted as the server frees system memory than those assigned a MonoSoftware.Web.Caching.CacheItemPriorityLevel.Normal priority. | |
High | 5 | Cache items with this priority level are the least likely to be deleted from the cache as the server frees system memory. | |
NotRemovable | 6 | The cache items with this priority level will not be automatically deleted from the cache as the server frees system memory. However, items with this priority level are removed along with other items according to the item's absolute or sliding expiration time. |