[]
Cleans up any resources being used.
protected virtual void Dispose(bool disposing)
Protected Overridable Sub Dispose(disposing As Boolean)
Type | Name | Description |
---|---|---|
bool | disposing | Whether the object is disposed through the IDisposable interface (true) or finalized by the garbage collector (false) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Public Sub Dispose()