MemoryCacheOptions.TrackLinkedCacheEntries Property

Definition

Gets or sets a value that indicates whether to track linked entries.

public:
 property bool TrackLinkedCacheEntries { bool get(); void set(bool value); };
public bool TrackLinkedCacheEntries { get; set; }
member this.TrackLinkedCacheEntries : bool with get, set
Public Property TrackLinkedCacheEntries As Boolean

Property Value

true if linked entries are tracked; otherwise, false. The default is false in .NET 7 and later versions.

Remarks

Prior to .NET 7 this feature was always enabled.

Applies to