Method Dispose
Dispose()
Declaration
public void Dispose()
Implements
Dispose(Boolean)
Abstract method that is implemented by derived types to perform the dispose operation
Declaration
protected abstract void Dispose(bool disposing)
Parameters
public void Dispose()
Abstract method that is implemented by derived types to perform the dispose operation
protected abstract void Dispose(bool disposing)
Parameters
Boolean | disposing | Indicates if this is a dispose or finalize operation |
Remarks
This is guaranteed to only be called if IsDisposed returns false
so the implementation should only be concerned with the actual release of resources. If disposing
is true then the implementation should release managed and unmanaged resources, otherwise it should
only release the unmanaged resources