共用方式為


MemoryCacheEntryOptions.AbsoluteExpirationRelativeToNow 屬性

定義

取得或設定相對於 now 的絕對到期時間。

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)

屬性值

適用於