語言

CacheView.ExpiresSliding 屬性

定義

設定快取條目應在最後一次存取後多久被驅逐。 當快取檢視儲存使用 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)

屬性值

屬性

適用於