Releases the unmanaged resources used by this object and optionally releases the managed resources.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Protected Overridable Sub Dispose ( _ disposing As Boolean _ ) |
Visual Basic (usage) |
---|
Dim disposing As Boolean Me. Dispose( disposing) |
C# |
---|
protected virtual void Dispose( bool disposing ) |
Parameters
- disposing
- Type:
System
.
.
::
.
.
Boolean
Remarks
If a wait handle was retrieved from the server agent, do not use it; this method invalidates it.