Επεξεργασία

Κοινή χρήση μέσω


CacheEntryUpdateCallback Delegate

Definition

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

public delegate void CacheEntryUpdateCallback(CacheEntryUpdateArguments ^ arguments);
public delegate void CacheEntryUpdateCallback(CacheEntryUpdateArguments arguments);
type CacheEntryUpdateCallback = delegate of CacheEntryUpdateArguments -> unit
Public Delegate Sub CacheEntryUpdateCallback(arguments As CacheEntryUpdateArguments)

Parameters

arguments
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.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also