DevicePortalConnection.GetForAppServiceConnection 方法

定义

使用传入的应用服务连接初始化 DevicePortalConnection 的实例。

public:
 static DevicePortalConnection ^ GetForAppServiceConnection(AppServiceConnection ^ appServiceConnection);
 static DevicePortalConnection GetForAppServiceConnection(AppServiceConnection const& appServiceConnection);
public static DevicePortalConnection GetForAppServiceConnection(AppServiceConnection appServiceConnection);
function getForAppServiceConnection(appServiceConnection)
Public Shared Function GetForAppServiceConnection (appServiceConnection As AppServiceConnection) As DevicePortalConnection

参数

appServiceConnection
AppServiceConnection

用于启动调用此方法的后台任务的 AppServiceConnection

返回

DevicePortalConnection 对象。

适用于