| 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.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family