Export (0) Print
Expand All

CacheEntryUpdateCallback Delegate

Defines a reference to a method that is invoked when a cache entry is about to be removed from the cache.

Namespace:  System.Runtime.Caching
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

public delegate void CacheEntryUpdateCallback(
	CacheEntryUpdateArguments arguments
)

Parameters

arguments
Type: System.Runtime.Caching.CacheEntryUpdateArguments

The information about the entry that is about to be removed from the cache.

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.

.NET Framework

Supported in: 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft