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.

Namespace:   System.Runtime.Caching
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

public DateTimeOffset AbsoluteExpiration { get; set; }

Property Value

Type: System.DateTimeOffset

The 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
Return to top