EvictionReason Enum

Definition

Specifies the reasons why an entry was evicted from the cache.

C#
public enum EvictionReason
Inheritance
EvictionReason

Fields

Name Value Description
None 0

The item was not removed from the cache.

Removed 1

The item was removed from the cache manually.

Replaced 2

The item was removed from the cache because it was overwritten.

Expired 3

The item was removed from the cache because it timed out.

TokenExpired 4

The item was removed from the cache because its token expired.

Capacity 5

The item was removed from the cache because it exceeded its capacity.

Applies to

Produkt Versioner
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)