UiPath Documentation
activities
latest
false
UI Automation activities

Dispose

Dispose in the Mobile Automation coded automation API: releases, frees, or resets all resources used while automating actions on a certain Connection.

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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated