IMemoryCacheManager Interface
Defines an interface that a cache uses in order to communicate cache memory usage to a host environment.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
The IMemoryCacheManager type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ReleaseCache | Removes all references to a cache in the host environment. |
![]() | UpdateCacheSize | Reports the size of the current cache. |
The IMemoryCacheManager interface is implemented by host environments such as ASP.NET, and is consumed by ObjectCache implementations that must interact with the host environment to determine memory usage. Because caches often consume significant quantities of memory, the IMemoryCacheManager interface helps host environments manage memory usage.
Typically, only ObjectCache implementations that manage cache objects in memory would use this interface.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
