Called from the constructor of derived classes to indicate that initialization is finished.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
If a dependency changes before initialization is complete in a derived class, the constructor of the derived class must invoke the OnChanged method.
When the OnChanged method is invoked, the HasChanged property is automatically set to true by the change monitor. As a result, when the change monitor's constructor calls the method, the base class will automatically call the Dispose method. If initialization is complete, the OnChanged method automatically disposes the derived change-monitor instance.Notes to Inheritors
The constructor of a derived class must call the base method before the constructor returns. The constructor of a derived class can call the Dispose method only after is called, because the Dispose method throws an exception if initialization is not completed.