MemoryCacheEntryExtensions.RegisterPostEvictionCallback Método

Definição

Sobrecargas

Name Description
RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate)

Dispara o callback dado depois de a entrada da cache ser expulsa da cache.

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object)

Dispara o callback dado depois de a entrada da cache ser expulsa da cache.

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate)

Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.cs
Origem:
MemoryCacheEntryExtensions.cs

Dispara o callback dado depois de a entrada da cache ser expulsa da 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

A chamada de retorno para se registar após uma entrada ser despejada.

Devoluções

Para MemoryCacheEntryOptions 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

Dispara o callback dado depois de a entrada da cache ser expulsa da 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);
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

A chamada de retorno para se registar após uma entrada ser despejada.

state
Object

O estado a passar para o callback.

Devoluções

Para MemoryCacheEntryOptions que chamadas adicionais possam ser encadeadas.

Aplica-se a