RemoteSystemConnectionInfo.TryCreateFromAppServiceConnection 方法

定义

创建此类的实例,该实例对应于给定的应用服务连接。

public:
 static RemoteSystemConnectionInfo ^ TryCreateFromAppServiceConnection(AppServiceConnection ^ connection);
/// [Windows.Foundation.Metadata.Overload("TryCreateFromAppServiceConnection")]
 static RemoteSystemConnectionInfo TryCreateFromAppServiceConnection(AppServiceConnection const& connection);
[Windows.Foundation.Metadata.Overload("TryCreateFromAppServiceConnection")]
public static RemoteSystemConnectionInfo TryCreateFromAppServiceConnection(AppServiceConnection connection);
function tryCreateFromAppServiceConnection(connection)
Public Shared Function TryCreateFromAppServiceConnection (connection As AppServiceConnection) As RemoteSystemConnectionInfo

参数

connection
AppServiceConnection

应为其获取基础远程系统连接信息的 AppServiceConnection 实例。

返回

RemoteSystemConnectionInfo 此类的实例,对应于给定的应用服务连接。

属性

适用于