MemoryCacheEntryOptions.AbsoluteExpirationRelativeToNow 属性

定义

获取或设置相对于当前时间的绝对到期时间。

public:
 property Nullable<TimeSpan> AbsoluteExpirationRelativeToNow { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? AbsoluteExpirationRelativeToNow { get; set; }
member this.AbsoluteExpirationRelativeToNow : Nullable<TimeSpan> with get, set
Public Property AbsoluteExpirationRelativeToNow As Nullable(Of TimeSpan)

属性值

适用于