Share via


CacheItemPolicy.RemovedCallback Propriété

Définition

Obtient ou définit une référence à un délégué CacheEntryRemovedCallback appelé après la suppression d'une entrée du 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

Valeur de propriété

Référence à un délégué appelé par une implémentation de cache.

Remarques

Une fois qu’une entrée de cache a été supprimée du cache, le cache appelle l’objet de rappel référencé par la RemovedCallback propriété . Une implémentation de cache peut utiliser ce rappel pour informer la méthode appelante qu’une entrée de cache a été supprimée.

S’applique à