Table of Contents

Delegate CMSCacheItemRemovedCallback

Namespace
CMS.Helpers
Assembly
CMS.Helpers.dll

Defines a callback method for notifying applications when a cached item is removed from the cache.

public delegate void CMSCacheItemRemovedCallback(string key, object value, CMSCacheItemRemovedReason reason)

Parameters

key string

The key that is removed from the cache.

value object

The item associated with the key removed from the cache.

reason CMSCacheItemRemovedReason

The reason the item was removed from the cache.

Extension Methods

Constructors

CMSCacheItemRemovedCallback(object, nint)

public CMSCacheItemRemovedCallback(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(string, object, CMSCacheItemRemovedReason, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(string key, object value, CMSCacheItemRemovedReason reason, AsyncCallback callback, object @object)

Parameters

key string
value object
reason CMSCacheItemRemovedReason
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(string, object, CMSCacheItemRemovedReason)

public virtual void Invoke(string key, object value, CMSCacheItemRemovedReason reason)

Parameters

key string
value object
reason CMSCacheItemRemovedReason