MemoryCacheStatistics.TotalEvictions Property

Definition

Gets the total number of cache evictions.

public:
 property long TotalEvictions { long get(); void set(long value); };
public long TotalEvictions { get; init; }
member this.TotalEvictions : int64 with get, set
Public Property TotalEvictions As Long

Property Value

Remarks

This count includes entries removed due to cache eviction policies such as expiration or capacity limits. It does not include entries removed explicitly by user code (for example, via Remove or Clear), and does not include entries that were replaced by new values.

Applies to