共用方式為


MemoryCacheEntryOptions.Priority 屬性

定義

取得或設定於觸發記憶體壓力的清除期間,將快取項目保留在快取中的優先順序。 預設為 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

屬性值

適用於