DisposableObject Methods |
The DisposableObject type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Releases the underlying wrapped object explicitly.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDispose |
The method is called on the Dispose method call.
Derived classes should override the method to perform custom disposing.
| |
ThrowIfDisposed |
Throws the ObjectDisposedException exception if
the underlying object has been disposed.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |