EvictionReason Enum

Definition

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

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

Produto Versões
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)