CacheEntryExtensions.RegisterPostEvictionCallback Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate) |
Dispara o callback dado depois de a entrada da cache ser expulsa da cache. |
| RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate, Object) |
Dispara o callback dado depois de a entrada da cache ser expulsa da cache. |
RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate)
- Origem:
- CacheEntryExtensions.cs
- Origem:
- CacheEntryExtensions.cs
- Origem:
- CacheEntryExtensions.cs
- Origem:
- CacheEntryExtensions.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::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
- entry
- ICacheEntry
O ICacheEntry.
- callback
- PostEvictionDelegate
A chamada de volta para correr depois da entrada ser despejada.
Devoluções
O ICacheEntry para encadear.
Aplica-se a
RegisterPostEvictionCallback(ICacheEntry, PostEvictionDelegate, Object)
- Origem:
- CacheEntryExtensions.cs
- Origem:
- CacheEntryExtensions.cs
- Origem:
- CacheEntryExtensions.cs
- Origem:
- CacheEntryExtensions.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::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
- entry
- ICacheEntry
O ICacheEntry.
- callback
- PostEvictionDelegate
A chamada de volta para correr depois da entrada ser despejada.
- state
- Object
O estado a passar para a chamada de retorno pós-despejo.
Devoluções
O ICacheEntry para encadear.