This topic has not yet been rated - Rate this topic

ChangeMonitor.Dispose Method

Releases all resources used by the current instance of the ChangeMonitor class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Dispose() Releases all resources that are used by the current instance of the ChangeMonitor class.
Protected method Dispose(Boolean) Releases all managed and unmanaged resources and any references to the ChangeMonitor instance. This overload must be implemented by derived change-monitor classes.
Top

The Dispose method is used to release the ChangeMonitor instance and related resources. The public Dispose method is invoked to coordinate the disposal process with key life-cycle events of derived change-monitor classes (such as initialization), and to release the ChangeMonitor instance so that the instance can be garbage collected. The Dispose method is implemented by derived change-monitor classes to dispose of their managed and unmanaged resources.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ