Leadtools.Medical.Caching Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.03.01
Cache.CacheItemRemovedHandler Delegate
See Also 
Leadtools.Medical.Caching Namespace : Cache.CacheItemRemovedHandler Delegate



key
A 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 CacheItemRemovedReason enumeration.
Represents the method that will handle the 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 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 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 CacheItemRemovedReason enumeration.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Cache.CacheItemRemovedHandler requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features