[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.
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.
Verifies that the current instance is not disposed.