A delegate that, if provided, is called when an object is removed from the cache. You can use this to notify applications when their objects are deleted from the cache.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
[ObsoleteAttribute("This delegate is deprecated. 'Please use SetCacheDataNotification(CacheDataNotificationCallback callback, EventType eventType, EventDataFilter datafilter)'", 
	false)]
public CacheItemRemovedCallback ItemRemoveCallback { get; set; }
Visual Basic
<ObsoleteAttribute("This delegate is deprecated. 'Please use SetCacheDataNotification(CacheDataNotificationCallback callback, EventType eventType, EventDataFilter datafilter)'", 
	false)> 
Public Property ItemRemoveCallback As CacheItemRemovedCallback
	Get
	Set
Visual C++
public:
[ObsoleteAttribute(L"This delegate is deprecated. 'Please use SetCacheDataNotification(CacheDataNotificationCallback callback, EventType eventType, EventDataFilter datafilter)'", 
	false)]
property CacheItemRemovedCallback^ ItemRemoveCallback {
	CacheItemRemovedCallback^ get ();
	void set (CacheItemRemovedCallback^ value);
}

Property Value

Type: CacheItemRemovedCallback

See Also