Редагувати

Поділитися через


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:
 property System::Runtime::Caching::CacheEntryRemovedCallback ^ RemovedCallback { System::Runtime::Caching::CacheEntryRemovedCallback ^ get(); void set(System::Runtime::Caching::CacheEntryRemovedCallback ^ value); };
public System.Runtime.Caching.CacheEntryRemovedCallback RemovedCallback { get; set; }
member this.RemovedCallback : System.Runtime.Caching.CacheEntryRemovedCallback with get, set
Public Property RemovedCallback As CacheEntryRemovedCallback

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