CacheItemPolicy::SlidingExpiration Property
.NET Framework (current version)
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.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
Property Value
Type: System::TimeSpanA span of time within which a cache entry must be accessed before the cache entry is evicted from the cache. The default is NoSlidingExpiration, meaning that the item should not be expired based on a time span.
.NET Framework
Available since 4.0
Available since 4.0
Show: