[SerializableAttribute] public class DisposableObject : IDisposable
<SerializableAttribute> Public Class DisposableObject Implements IDisposable
[SerializableAttribute] public ref class DisposableObject : IDisposable
[<SerializableAttribute>] type DisposableObject = class interface IDisposable end
Thetype exposes the following members.
Initializes a new instance of theclass
Gets a value indicating whether this instance is disposed.
Disposes the current instance.
Finalizes an instance of the(Overrides class. ObjectFinalize.)
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Releases the managed resources. Make sure no unmanaged resources are released here, since they may have been already released.
Releases the unmanaged resources. Make sure no managed resources are released here, since they may have been already released.
Returns a string that represents the current object.(Inherited from Object.)
Verifies that the current instance is not disposed.