MemoryCacheEntryOptions.Priority Property

Definition

Gets or sets the priority for keeping the cache entry in the cache during a memory pressure triggered cleanup. The default is Normal.

public Microsoft.Extensions.Caching.Memory.CacheItemPriority Priority { get; set; }

Property Value

Applies to

Продукт Версії
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)