PostEvictionDelegate Delegate

Definition

Represents the callback method that gets called when a cache entry expires.

C#
public delegate void PostEvictionDelegate(object key, object? value, EvictionReason reason, object? state);

Parameters

key
Object

The key of the entry being evicted.

value
Object

The value of the entry being evicted.

state
Object

The information that was passed when registering the callback.

Applies to

Producto Versiones
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)