RemoteSystemConnectionInfo.TryCreateFromAppServiceConnection 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建此类的实例,该实例对应于给定的应用服务连接。
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 此类的实例,对应于给定的应用服务连接。
- 属性