[This is preliminary documentation and is subject to change.]
Used to destroy the current Instance.
Remarks
This will destroy the instance. All references to the instance should be broken after calling this method.
Any attempts to operate on an instance after it has been disposed will result in an exception being thrown.
Syntax
| C# |
|---|
public void Dispose() |
| Visual Basic (Declaration) |
|---|
Public Sub Dispose |
Implements
IDisposable..::.Dispose()()()
Exceptions
| Exception | Condition |
|---|---|
| AW..::.InstanceException | Thrown when the instance cannot be set properly. (i.e. the instance has been destroyed or is not valid). |