MemoryCacheOptions.TrackLinkedCacheEntries 屬性

定義

取得或設定一個值,表示連結條目是否被追蹤。

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

屬性值

true如果有追蹤連結條目;否則,。 false 預設值為 false

備註

在 .NET 7 之前,這項功能一直都是啟用的。

適用於