PostEvictionCallback Property

Definition

Assembly CliInvoke.dll

Gets or sets an optional callback invoked when a cached entry is evicted, used as the invalidation hook.

public PostEvictionDelegate? PostEvictionCallback { get; set; }

Returns

Remarks

Matches the delegate accepted by MemoryCacheEntryOptions.RegisterPostEvictionCallback, so the resolver can forward it directly to the cache.