Eviction Delegate Delegate
Signature of the callback which gets called when a cache entry expires.
public delegate void PostEvictionDelegate(System::Object ^ key, System::Object ^ value, EvictionReason reason, System::Object ^ state);
public delegate void PostEvictionDelegate(object key, object value, EvictionReason reason, object state);
type PostEvictionDelegate = delegate of obj * obj * EvictionReason * obj -> unit
Public Delegate Sub PostEvictionDelegate(key As Object, value As Object, reason As EvictionReason, state As Object)
The key of the entry being evicted.
The value of the entry being evicted.
The information that was passed when registering the callback.