LEADTOOLS Medical (Leadtools.Medical.Caching assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
Cache.CacheItemRemovedHandler Delegate
See Also 
Leadtools.Medical.Caching Namespace : Cache.CacheItemRemovedHandler Delegate



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.
Represents the method that will handle the Cache.ItemRemoved event.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub Cache.CacheItemRemovedHandler( _
   ByVal key As String, _
   ByVal data() As Byte, _
   ByVal reason As CacheItemRemovedReason _
) 
Visual Basic (Usage)Copy Code
Dim instance As New Cache.CacheItemRemovedHandler(AddressOf HandlerMethod)
C# 
public delegate void Cache.CacheItemRemovedHandler( 
   string key,
   byte[] data,
   CacheItemRemovedReason reason
)
C++/CLI 
public delegate void Cache.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.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also