RemoteSystemConnectionInfo 类

定义

提供有关与远程系统的连接的信息。 例如,连接类型。

public ref class RemoteSystemConnectionInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RemoteSystemConnectionInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RemoteSystemConnectionInfo
Public NotInheritable Class RemoteSystemConnectionInfo
继承
Object Platform::Object IInspectable RemoteSystemConnectionInfo
属性

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

属性

IsProximal

获取关联的远程系统连接是否为近端连接。

方法

TryCreateFromAppServiceConnection(AppServiceConnection)

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

适用于