Delen via


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:
 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