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 之前,始终启用此功能。

适用于