RemoteDesktopInfo 类

定义

表示远程桌面。

重要

RemoteDesktopInfo API 是受限访问功能的一部分 (请参阅 LimitedAccessFeatures 类) 。 有关详细信息或请求解锁令牌,请使用 LAF 访问令牌请求表单

public ref class RemoteDesktopInfo sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteDesktop.Provider.IRemoteDesktopInfoFactory, 983040, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RemoteDesktopInfo final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteDesktop.Provider.IRemoteDesktopInfoFactory), 983040, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RemoteDesktopInfo
function RemoteDesktopInfo(id, displayName)
Public NotInheritable Class RemoteDesktopInfo
继承
Object Platform::Object IInspectable RemoteDesktopInfo
属性

Windows 要求

设备系列
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v15.0 中引入)

构造函数

RemoteDesktopInfo(String, String)

使用提供的 ID 和显示名称初始化 RemoteDesktopInfo 的新实例。

属性

DisplayName

获取远程桌面的显示名称。

Id

获取远程桌面的 ID。

适用于