System.Runtime.Caching.Hosting Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains types that support .NET Framework hosting environments that use the caching features in ASP.NET.
Interfaces
IApplicationIdentifier |
Defines an identifier for application domains that a cache implementation can use to interact with a host environment. |
IFileChangeNotificationSystem |
Defines a way to expose a custom FileChangeMonitor object to a cache implementation. |
IMemoryCacheManager |
Defines an interface that a cache uses in order to communicate cache memory usage to a host environment. |
Remarks
The base ObjectCache class exposes a static Host property. When a .NET Framework hosting environment starts individual application domains, it can set a reference to the Host property. This enables the hosting environment to provide better integration with the cache.
In .NET Framework 4, the System.Runtime.Caching.Hosting namespace provides interfaces that a hosting environment can use to set a IServiceProvider reference on the Host property.
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應