MemoryCacheOptions.CompactOnMemoryPressure 속성

정의

주의

This property is retained only for compatibility. Remove use and instead call MemoryCache.Compact as needed.

최대 크기를 초과할 때 캐시가 압축되는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool CompactOnMemoryPressure { bool get(); void set(bool value); };
[System.Obsolete("This property is retained only for compatibility.  Remove use and instead call MemoryCache.Compact as needed.", true)]
public bool CompactOnMemoryPressure { get; set; }
[<System.Obsolete("This property is retained only for compatibility.  Remove use and instead call MemoryCache.Compact as needed.", true)>]
member this.CompactOnMemoryPressure : bool with get, set
Public Property CompactOnMemoryPressure As Boolean

속성 값

특성

적용 대상