CacheView.ExpiresSliding 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定快取條目應在最後一次存取後多久被驅逐。
當快取檢視儲存使用 HybridCache. 時不支援。
[Microsoft.AspNetCore.Components.Parameter]
public TimeSpan? ExpiresSliding { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.ExpiresSliding : Nullable<TimeSpan> with get, set
Public Property ExpiresSliding As Nullable(Of TimeSpan)
屬性值
- 屬性