Share via


EvictionReason Enum

Definition

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

public enum class EvictionReason
public enum EvictionReason
type EvictionReason = 
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