CacheEntryExtensions.RegisterPostEvictionCallback Metodo

Definizione

Overload

RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate)

Il callback specificato verrà attivato dopo la rimozione della voce dalla cache.The given callback will be fired after the cache entry is evicted from the cache.

RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate, Object)

Il callback specificato verrà attivato dopo la rimozione della voce dalla cache.The given callback will be fired after the cache entry is evicted from the cache.

RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate)

Il callback specificato verrà attivato dopo la rimozione della voce dalla cache.The given callback will be fired after the cache entry is evicted from the cache.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Caching::Memory::ICacheEntry ^ RegisterPostEvictionCallback(Microsoft::Extensions::Caching::Memory::ICacheEntry ^ entry, Microsoft::Extensions::Caching::Memory::PostEvictionDelegate ^ callback);
public static Microsoft.Extensions.Caching.Memory.ICacheEntry RegisterPostEvictionCallback (this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, Microsoft.Extensions.Caching.Memory.PostEvictionDelegate callback);
static member RegisterPostEvictionCallback : Microsoft.Extensions.Caching.Memory.ICacheEntry * Microsoft.Extensions.Caching.Memory.PostEvictionDelegate -> Microsoft.Extensions.Caching.Memory.ICacheEntry
<Extension()>
Public Function RegisterPostEvictionCallback (entry As ICacheEntry, callback As PostEvictionDelegate) As ICacheEntry

Parametri

entry
ICacheEntry

Oggetto ICacheEntry.The ICacheEntry.

callback
PostEvictionDelegate

Callback da eseguire dopo la rimozione della voce.The callback to run after the entry is evicted.

Restituisce

Oggetto ICacheEntry per il concatenamento.The ICacheEntry for chaining.

RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate, Object)

Il callback specificato verrà attivato dopo la rimozione della voce dalla cache.The given callback will be fired after the cache entry is evicted from the cache.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Caching::Memory::ICacheEntry ^ RegisterPostEvictionCallback(Microsoft::Extensions::Caching::Memory::ICacheEntry ^ entry, Microsoft::Extensions::Caching::Memory::PostEvictionDelegate ^ callback, System::Object ^ state);
public static Microsoft.Extensions.Caching.Memory.ICacheEntry RegisterPostEvictionCallback (this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, Microsoft.Extensions.Caching.Memory.PostEvictionDelegate callback, object state);
static member RegisterPostEvictionCallback : Microsoft.Extensions.Caching.Memory.ICacheEntry * Microsoft.Extensions.Caching.Memory.PostEvictionDelegate * obj -> Microsoft.Extensions.Caching.Memory.ICacheEntry
<Extension()>
Public Function RegisterPostEvictionCallback (entry As ICacheEntry, callback As PostEvictionDelegate, state As Object) As ICacheEntry

Parametri

entry
ICacheEntry

Oggetto ICacheEntry.The ICacheEntry.

callback
PostEvictionDelegate

Callback da eseguire dopo la rimozione della voce.The callback to run after the entry is evicted.

state
Object

Stato da passare al callback dopo la rimozione.The state to pass to the post-eviction callback.

Restituisce

Oggetto ICacheEntry per il concatenamento.The ICacheEntry for chaining.

Si applica a