Langue

CacheView.ExpiresSliding Propriété

Définition

Obtient ou définit la durée pendant laquelle l’entrée du cache doit être supprimée après le dernier accès. Non pris en charge lorsque le magasin d’affichages du cache utilise 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)

Valeur de propriété

Attributs

S’applique à