다음을 통해 공유


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

속성 값

특성

적용 대상