Clean up any resources being used.
Syntax
| Visual Basic (Declaration) | |
|---|
Overloads Overrides Protected Sub Dispose( _
ByVal disposing As Boolean _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As QueueManager
Dim disposing As Boolean
instance.Dispose(disposing) |
| Managed Extensions for C++ | |
|---|
protected: void Dispose(
bool disposing
) override |
Parameters
- disposing
- true if managed resources should be disposed; otherwise, false.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also