Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PostEvictionDelegate Delegate

Definition

Namespace:
Microsoft.Extensions.Caching.Memory
Assembly:
Microsoft.Extensions.Caching.Abstractions.dll
Package:
Microsoft.Extensions.Caching.Abstractions v11.0.0-preview.5.26302.115
Source:
PostEvictionDelegate.cs
Source:
PostEvictionDelegate.cs
Source:
PostEvictionDelegate.cs
Source:
PostEvictionDelegate.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents the callback method that gets called when a cache entry expires.

public delegate void PostEvictionDelegate(System::Object ^ key, System::Object ^ value, EvictionReason reason, System::Object ^ state);
public delegate void PostEvictionDelegate(object key, object? value, EvictionReason reason, object? state);
type PostEvictionDelegate = delegate of obj * obj * EvictionReason * obj -> unit
Public Delegate Sub PostEvictionDelegate(key As Object, value As Object, reason As EvictionReason, state As Object)

Parameters

key
Object

The key of the entry being evicted.

value
Object

The value of the entry being evicted.

state
Object

The information that was passed when registering the callback.

Extension Methods

Name Description
GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to


Feedback

Was this page helpful?