Edit

Share via


ObjectCache.InfiniteAbsoluteExpiration Field

Definition

Gets a value that indicates that a cache entry has no absolute expiration.

public: static initonly DateTimeOffset InfiniteAbsoluteExpiration;
public static readonly DateTimeOffset InfiniteAbsoluteExpiration;
 staticval mutable InfiniteAbsoluteExpiration : DateTimeOffset
Public Shared ReadOnly InfiniteAbsoluteExpiration As DateTimeOffset 

Field Value

Remarks

A cache entry that is inserted into the cache with the InfiniteAbsoluteExpiration field value set as the expiration value should never expire based on an absolute point in time. However, a cache entry with this setting can be evicted from the cache for other reasons that are determined by a particular cache implementation, such as a change-monitor event eviction caused by memory pressure.

Applies to