Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CacheItemPolicy Properties

.NET Framework 4.6 and 4.5

The CacheItemPolicy type exposes the following members.

  Name Description
Public property AbsoluteExpiration Gets or sets a value that indicates whether a cache entry should be evicted after a specified duration.
Public property ChangeMonitors Gets a collection of ChangeMonitor objects that are associated with a cache entry.
Public property Priority Gets or sets a priority setting that is used to determine whether to evict a cache entry.
Public property RemovedCallback Gets or sets a reference to a CacheEntryRemovedCallback delegate that is called after an entry is removed from the cache.
Public property SlidingExpiration Gets or sets a value that indicates whether a cache entry should be evicted if it has not been accessed in a given span of time.
Public property UpdateCallback Gets or sets a reference to a CacheEntryUpdateCallback delegate that is called before a cache entry is removed from the cache.
Top
Show:
© 2015 Microsoft