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
keystringThe key that is removed from the cache.
valueobjectThe item associated with the key removed from the cache.
reasonCMSCacheItemRemovedReasonThe reason the item was removed from the cache.
- Extension Methods
Constructors
CMSCacheItemRemovedCallback(object, nint)
public CMSCacheItemRemovedCallback(object @object, nint method)
Parameters
objectobjectmethodnint
Methods
BeginInvoke(string, object, CMSCacheItemRemovedReason, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(string key, object value, CMSCacheItemRemovedReason reason, AsyncCallback callback, object @object)
Parameters
keystringvalueobjectreasonCMSCacheItemRemovedReasoncallbackAsyncCallbackobjectobject
Returns
- IAsyncResult
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(string, object, CMSCacheItemRemovedReason)
public virtual void Invoke(string key, object value, CMSCacheItemRemovedReason reason)
Parameters
keystringvalueobjectreasonCMSCacheItemRemovedReason