ChronologicalEvictionStrategy<TCachedMessage>.OnPurged Property
Definition
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.
Called with the newest item in the cache and last item purged after a cache purge has run. For ordered reliable queues we shouldn't need to notify on every purged event, only on the last event of every set of events that get purged.
public Action<TCachedMessage?,TCachedMessage?> OnPurged { get; set; }
member this.OnPurged : Action<Nullable<'CachedMessage>, Nullable<'CachedMessage>> with get, set
Public Property OnPurged As Action(Of Nullable(Of TCachedMessage), Nullable(Of TCachedMessage))