MemoryCacheOptions.SizeLimit Propriedade

Definição

Obtém ou define o tamanho máximo do 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)

Valor da propriedade

Comentários

Cuidado

Pode haver estados transitórios enquanto o cache está cheio, mas os blocos estão sendo liberados em um thread em segundo plano. Nesse estado, um comportamento inesperado poderá ocorrer se o cache estiver sendo superutilizado.

Aplica-se a