activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation activities

Last updated Feb 19, 2026

Dispose

Releases, frees, or resets all resources used while automating actions on a certain Connection.

Releasing resources refers to freeing up or closing the resources acquired while working with a connection. This could involve releasing memory, resetting the mobile device, terminating the connection between the mobile device and application, or any other actions necessary for efficient resource management.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Overloads

OverloadDescription
Dispose()Releases all resources used while automating actions on a certain Connection.
Dispose(bool)Releases the unmanaged resources used by a certain Connection, and can also release the managed resources if specified.

Dispose()

Releases all resources used while automating actions on a certain Connection.

Dispose()
Dispose()

Dispose(bool)

Releases the unmanaged resources used by a certain Connection, and can also release the managed resources if specified.

Dispose(
	    bool disposing
)
Dispose(
	    bool disposing
)

disposing Boolean : Specify true to release both managed and unmanaged resources. Specify false to release only unmanaged resources.

  • Definition
  • Overloads
  • Dispose()
  • Dispose(bool)

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.