MemoryCacheStatistics.TotalEvictions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.