Skip to main content Skip to complementary content

Dispose Method

Overloads

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration

      public void Dispose()
    

Implements

System.IDisposable.Dispose()

Dispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration

      protected virtual void Dispose(bool disposing)
    

Parameters

Type Name Description
System.Boolean disposing

true if we are disposing

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!