活动
最新
False
横幅背景图像
用户界面自动化活动
上次更新日期 2024年4月26日

ConnectAsync

以异步方式将设备连接到应用程序。

定义

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

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

重载

重载描述
ConnectAsync(Device, Application, ConnectionOptions)以异步方式连接设备和应用程序对象。
ConnectAsync(string, string, ConnectionOptions)根据移动设备管理器中的配置,异步连接设备和应用程序。

ConnectAsync(Device, Application, ConnectionOptions)

以异步方式连接设备和应用程序对象。

ConnectAsync(
	Device device,
	Application application = null,
	ConnectionOptions options = null
)ConnectAsync(
	Device device,
	Application application = null,
	ConnectionOptions options = null
)
device 设备
要连接的设备对象。
application 应用程序
在移动设备管理器中配置的应用程序对象。
options ConnectionOptions (可选)
用于进一步配置连接的选项。

ConnectAsync(string, string, ConnectionOptions)

根据移动设备管理器中的配置,异步连接设备和应用程序。

ConnectAsync(
	string name,
	string applicationName = null,
	ConnectionOptions options = null
)ConnectAsync(
	string name,
	string applicationName = null,
	ConnectionOptions options = null
)
name 字符串
在移动设备管理器中配置的设备名称。
applicationName 字符串(可选)
在移动设备管理器中配置的应用程序名称。
options ConnectionOptions (可选)
用于进一步配置连接的选项。

返回值

可等待的Connection对象。

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.