UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

用户界面自动化活动

上次更新日期 2026年4月16日

ManageCurrentApplication

重置或启动此会话的当前应用程序。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

ManageCurrentApplication(ManageCurrentAppCommandEnum, MobileOptions.ManageCurrentApplicationOptions)

ManageCurrentApplication(
	    ManageCurrentAppCommandEnum appCommand,
	    MobileOptions. ManageCurrentApplicationOptions options = null
)
ManageCurrentApplication(
	    ManageCurrentAppCommandEnum appCommand,
	    MobileOptions. ManageCurrentApplicationOptions options = null
)

appCommand ManageCurrentAppCommandEnum :要发送到当前正在运行的应用程序的命令。有两个可用命令: LaunchReset

options “管理当前应用程序选项” (可选):为ManageCurrentApplication操作指定MobileOptions.ManageCurrentApplicationOptions 。默认值为 null。

返回值

如果已成功执行命令,则返回True

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新