MemoryCacheEntryExtensions.RegisterPostEvictionCallback Método

Definição

Sobrecargas

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate)

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

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object)

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

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate)

Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.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::MemoryCacheEntryOptions ^ RegisterPostEvictionCallback(Microsoft::Extensions::Caching::Memory::MemoryCacheEntryOptions ^ options, Microsoft::Extensions::Caching::Memory::PostEvictionDelegate ^ callback);
public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions RegisterPostEvictionCallback (this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, Microsoft.Extensions.Caching.Memory.PostEvictionDelegate callback);
static member RegisterPostEvictionCallback : Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions * Microsoft.Extensions.Caching.Memory.PostEvictionDelegate -> Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions
<Extension()>
Public Function RegisterPostEvictionCallback (options As MemoryCacheEntryOptions, callback As PostEvictionDelegate) As MemoryCacheEntryOptions

Parâmetros

callback
PostEvictionDelegate

O retorno de chamada a ser registrado para chamar após a entrada ser removida.

Retornos

O MemoryCacheEntryOptions para que chamadas adicionais possam ser encadeadas.

Aplica-se a

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object)

Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.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::MemoryCacheEntryOptions ^ RegisterPostEvictionCallback(Microsoft::Extensions::Caching::Memory::MemoryCacheEntryOptions ^ options, Microsoft::Extensions::Caching::Memory::PostEvictionDelegate ^ callback, System::Object ^ state);
public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions RegisterPostEvictionCallback (this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, Microsoft.Extensions.Caching.Memory.PostEvictionDelegate callback, object state);
public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions RegisterPostEvictionCallback (this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, Microsoft.Extensions.Caching.Memory.PostEvictionDelegate callback, object? state);
static member RegisterPostEvictionCallback : Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions * Microsoft.Extensions.Caching.Memory.PostEvictionDelegate * obj -> Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions
<Extension()>
Public Function RegisterPostEvictionCallback (options As MemoryCacheEntryOptions, callback As PostEvictionDelegate, state As Object) As MemoryCacheEntryOptions

Parâmetros

callback
PostEvictionDelegate

O retorno de chamada a ser registrado para chamar após a entrada ser removida.

state
Object

O estado a ser passado para o retorno de chamada.

Retornos

O MemoryCacheEntryOptions para que chamadas adicionais possam ser encadeadas.

Aplica-se a