Component |
The ComponentBase type exposes the following members.
Name | Description | |
---|---|---|
CheckAndDispose | CheckAndDispose method is usually called from the Dispose method. It calls Disposing event handler, then Dispose(Boolean) method and finally Disposed event handler. It also sets IsDisposing and IsDisposed properties. | |
CheckIfDisposed | CheckIfDisposed method throws InvalidOperationException if this object is disposed (IsDisposed is true). | |
CreateClone | Clones this instance of ComponentBase with creating a shallow copy (properties are copied but referenced objects are preserved). The returned cloned objects gets a new Id. | |
Dispose | Releases unmanaged and managed resources (when disposing is true). This method may be called only from the CheckAndDispose(Boolean) method and must not be called manually by the user. | |
Finalize |
Releases unmanaged resources and performs other cleanup operations before this object is reclaimed by garbage collection.
This may also log waring or other message type or throw an exception - this is controller by DisposeObjectFromFinalizer setting.
(Overrides ObjectFinalize) |