Occurs after an item has been added to 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#
public override event CacheItemAddedCallback ItemAdded
Visual Basic
Public Overrides Event ItemAdded As CacheItemAddedCallback
Visual C++
public:
virtual  event CacheItemAddedCallback^ ItemAdded {
	void add (CacheItemAddedCallback^ value);
	void remove (CacheItemAddedCallback^ value);
}

Value

Type: Alachisoft.NCache.Web.Caching..::..CacheItemAddedCallback

Remarks

You can use this event to perform tasks when an item is added to the Cache.

Since this callback is invoked every time an item is removed from the Cache, doing a lot of processing inside the callback might have an impact on the performance of the cache and cluster. It is therefore advisable to do minimal processing inside the handler.

For more information on how to use this callback see the documentation for CacheItemAddedCallback.

See Also