CacheEntryUpdateCallback Delegate
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
Defines a reference to a method that is invoked when a cache entry is about to be removed from the cache.
Namespace: Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0
Syntax
public delegate void CacheEntryUpdateCallback(
CacheEntryUpdateArguments arguments
)
'Declaration
Public Delegate Sub CacheEntryUpdateCallback ( _
arguments As CacheEntryUpdateArguments _
)
public delegate void CacheEntryUpdateCallback(
CacheEntryUpdateArguments^ arguments
)
Parameters
- arguments
Type: Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching.CacheEntryUpdateArguments
The information about the entry that is about to be removed from the cache.
Remarks
Information about a cache entry to be removed is contained in a CacheEntryUpdateArguments object. A CacheEntryUpdateArguments object is passed to the CacheEntryUpdateCallback delegate. The method that implements the CacheEntryUpdateCallback delegate can pass an updated cache entry value back to the cache implementation. The updated cache entry replaces the cache item that is about to be removed.
See Also
Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching Namespace