MemoryCacheEntryExtensions.RegisterPostEvictionCallback MemoryCacheEntryExtensions.RegisterPostEvictionCallback MemoryCacheEntryExtensions.RegisterPostEvictionCallback Method

Definition

Overloads

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate) RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate) RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate)

The given callback will be fired after the cache entry is evicted from the cache.

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object) RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object) RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object)

The given callback will be fired after the cache entry is evicted from the cache.

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate) RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate) RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate)

The given callback will be fired after the cache entry is evicted from the cache.

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
Parameters
Returns

RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object) RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object) RegisterPostEvictionCallback(MemoryCacheEntryOptions, PostEvictionDelegate, Object)

The given callback will be fired after the cache entry is evicted from the cache.

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
Parameters
Returns

Applies to