Share via


MemoryCacheOptions.SizeLimit Propriété

Définition

Obtient ou définit la taille maximale du cache.

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

Valeur de propriété

Remarques

Attention

Il peut y avoir des états temporaires pendant que le cache est plein, mais des blocs sont libérés sur un thread d’arrière-plan. Dans cet état, un comportement inattendu peut se produire si le cache est surutilisé.

S’applique à