CacheItemPolicy.ChangeMonitors Property
Definition
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.
Gets a collection of ChangeMonitor objects that are associated with a cache entry.
public:
property System::Collections::ObjectModel::Collection<System::Runtime::Caching::ChangeMonitor ^> ^ ChangeMonitors { System::Collections::ObjectModel::Collection<System::Runtime::Caching::ChangeMonitor ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.Runtime.Caching.ChangeMonitor> ChangeMonitors { get; }
member this.ChangeMonitors : System.Collections.ObjectModel.Collection<System.Runtime.Caching.ChangeMonitor>
Public ReadOnly Property ChangeMonitors As Collection(Of ChangeMonitor)
Property Value
A collection of change monitors. The default is an empty collection.
Remarks
You can add to or remove change monitors that are associated with a cache entry. However, the set of change monitors must be complete before you pass a CacheItemPolicy instance to an ObjectCache implementation. If you change the set of change monitors on a CacheItemPolicy object after the CacheItemPolicy object has been passed to an ObjectCache implementation, the changes have no effect.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om