Delegate CMSCacheItemRemovedCallback
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
stringThe key that is removed from the cache.
value
objectThe item associated with the key removed from the cache.
reason
CMSCacheItemRemovedReasonThe reason the item was removed from the cache.
- Extension Methods
Constructors
CMSCacheItemRemovedCallback(object, nint)
public CMSCacheItemRemovedCallback(object @object, nint method)
Parameters
object
objectmethod
nint
Methods
BeginInvoke(string, object, CMSCacheItemRemovedReason, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(string key, object value, CMSCacheItemRemovedReason reason, AsyncCallback callback, object @object)
Parameters
key
stringvalue
objectreason
CMSCacheItemRemovedReasoncallback
AsyncCallbackobject
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
stringvalue
objectreason
CMSCacheItemRemovedReason