Releases unmanaged and managed resources (depending on the scenario).
If disposing is false, the method has been called from
the finalizer and should not reference other objects (therefore only unmanaged resources can be disposed).
Namespace:
Rebex
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Protected Overridable Sub Dispose ( _ disposing As Boolean _ ) |
C# |
---|
protected virtual void Dispose( bool disposing ) |
Parameters
- disposing
- Type: System..::..Boolean
True indicates that the method has been called via IDisposable.Dispose. False indicates that it has been called by the finalizer.