CacheItemPolicy.AbsoluteExpiration Property


Gets or sets a value that indicates whether a cache entry should be evicted at a specified point in time.

 property DateTimeOffset AbsoluteExpiration { DateTimeOffset get(); void set(DateTimeOffset value); };
public DateTimeOffset AbsoluteExpiration { get; set; }
member this.AbsoluteExpiration : DateTimeOffset with get, set
Public Property AbsoluteExpiration As DateTimeOffset

Property Value

The point in time at which a cache entry is evicted. The default value is InfiniteAbsoluteExpiration, meaning that the entry does not expire.

Applies to