CacheItemRemovedHandler Delegate
Summary
Represents the method that will handle the ItemRemoved event.
Syntax
delegate void CacheItemRemovedHandler(
string key,
byte[] data,
CacheItemRemovedReason reason
)
Public Delegate Sub CacheItemRemovedHandler( _
ByVal key As String, _
ByVal data() As Byte, _
ByVal reason As CacheItemRemovedReason _
)
public delegate void CacheItemRemovedHandler(
String^ key,
array<byte>^ data,
CacheItemRemovedReason reason
)
Parameters
key
A System.String representing the Id of the removed cache item.
data
The cached item in bytes.
reason
The reason the item was removed from the cache, as specified by the System.Web.Caching.CacheItemRemovedReason enumeration.