CacheItemPolicy::AbsoluteExpiration Property
.NET Framework (current version)
Gets or sets a value that indicates whether a cache entry should be evicted after a specified duration.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
public: property DateTimeOffset AbsoluteExpiration { DateTimeOffset get(); void set(DateTimeOffset value); }
Property Value
Type: System::DateTimeOffsetThe period of time that must pass before a cache entry is evicted. The default value is InfiniteAbsoluteExpiration, meaning that the entry does not expire.
.NET Framework
Available since 4.0
Available since 4.0
Show: