ObjectCache.InfiniteAbsoluteExpiration ObjectCache.InfiniteAbsoluteExpiration ObjectCache.InfiniteAbsoluteExpiration ObjectCache.InfiniteAbsoluteExpiration Field

定义

获取一个值,该值指示某个缓存项没有绝对过期。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 

字段值

注解

插入到缓存与某个缓存项InfiniteAbsoluteExpiration字段值设置为永不过期的过期值应该基于绝对点中的时间。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.

适用于