Compartilhar via


CacheEntryExtensions.RegisterPostEvictionCallback Método

Definição

Sobrecargas

RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate)

O retorno de chamada fornecido será acionado depois que a entrada de cache for removida do cache.

RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate, Object)

O retorno de chamada fornecido será acionado depois que a entrada de cache for removida do cache.

RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate)

Origem:
CacheEntryExtensions.cs
Origem:
CacheEntryExtensions.cs
Origem:
CacheEntryExtensions.cs
Origem:
CacheEntryExtensions.cs

O retorno de chamada fornecido será acionado depois que a entrada de cache for removida do 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

Parâmetros

callback
PostEvictionDelegate

O retorno de chamada a ser executado depois que a entrada for removida.

Retornos

O ICacheEntry para encadeamento.

Aplica-se a

RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate, Object)

Origem:
CacheEntryExtensions.cs
Origem:
CacheEntryExtensions.cs
Origem:
CacheEntryExtensions.cs
Origem:
CacheEntryExtensions.cs

O retorno de chamada fornecido será acionado depois que a entrada de cache for removida do 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

Parâmetros

callback
PostEvictionDelegate

O retorno de chamada a ser executado depois que a entrada for removida.

state
Object

O estado a ser passado para o retorno de chamada após a remoção.

Retornos

O ICacheEntry para encadeamento.

Aplica-se a