'Declaration Public Property Priority As System.Web.Caching.CacheItemPriority
public System.Web.Caching.CacheItemPriority Priority {get; set;}
'Declaration Public Property Priority As System.Web.Caching.CacheItemPriority
public System.Web.Caching.CacheItemPriority Priority {get; set;}
If your application stores many types of object in the cache, you may want to set the Priority property to reflect the relative cost of each type of item. For example, you may be generating technical diagrams that take a long time to create, and should have a higher cache priority than simple reports. Or you may be caching customer information that is easy to retrieve from the database and should have a lower priority.
For more details on this property, and a list of valid settings, see the System.Web.Caching.Cache.Insert(System.String,System.Object) method in the .NET framework documentation.