CacheEntryChangeMonitor Constructor ()

.NET Framework (current version)
 

Initializes a new instance of the CacheEntryChangeMonitor class. This constructor is called from constructors in derived classes to initialize the base class.

Namespace:   System.Runtime.Caching
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

protected:
CacheEntryChangeMonitor()

The CacheEntryChangeMonitor class has a default constructor.

Notes to Inheritors:

The constructor of a derived class must set the UniqueId property, begin monitoring, and call InitializationComplete before the constructor returns. If a dependency changes before initialization is complete (for example, if a dependent cache key is not found in the cache), the constructor must call the OnChanged method. The constructor can call the Dispose method only after InitializationComplete is called, because Dispose throws an exception if initialization is not completed.

.NET Framework
Available since 4.0
Return to top
Show: