共用方式為


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)

使用提供的標識碼和顯示名稱,初始化 RemoteDesktopInfo 的新實例。

屬性

DisplayName

取得遠端桌面的顯示名稱。

Id

取得遠端桌面的識別碼。

適用於