CacheItemPolicy.RemovedCallback Property

Definition

Gets or sets a reference to a CacheEntryRemovedCallback delegate that is called after an entry is removed from the cache.

public System.Runtime.Caching.CacheEntryRemovedCallback RemovedCallback { get; set; }

Property Value

A reference to a delegate that is called by a cache implementation.

Remarks

After a cache entry has been removed from the cache, the cache invokes the callback object that is referenced by the RemovedCallback property. A cache implementation can use this callback to notify the calling method that a cache entry has been removed.

Applies to

Produkt Versjoner
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)