CacheInvalidationEventArgs.Tag1 Property

Definition

An object that will be passed to TryGetSingleCacheFileEntityAsync(Object, CancellationToken) if needed.

public object? Tag1 { get; }
member this.Tag1 : obj
Public ReadOnly Property Tag1 As Object

Property Value

Remarks

This parameter is only useful when CacheUpdateStrategy is AddSingleItem, RemoveSingleItem or RenameSingleItem.

When CacheUpdateStrategy is RenameSingleItem, this value is often used to represents the file entity before it got renamed.

Applies to