MemoryCacheEntryOptions.Priority Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the priority for keeping the cache entry in the cache during a memory pressure triggered cleanup. The default is Normal.
public:
property Microsoft::Extensions::Caching::Memory::CacheItemPriority Priority { Microsoft::Extensions::Caching::Memory::CacheItemPriority get(); void set(Microsoft::Extensions::Caching::Memory::CacheItemPriority value); };
public Microsoft.Extensions.Caching.Memory.CacheItemPriority Priority { get; set; }
member this.Priority : Microsoft.Extensions.Caching.Memory.CacheItemPriority with get, set
Public Property Priority As CacheItemPriority
Property Value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.