共用方式為


RemoteDesktopConnectionRemoteInfo 類別

定義

表示遠端桌面上的遠端桌面連線。

重要

RemoteDesktopConnectionRemoteInfo API 是有限存取功能的一部分 (請參閱 LimitedAccessFeatures 類別) 。 如需詳細資訊或要求解除鎖定令牌,請使用 LAF存取令牌要求表單

public ref class RemoteDesktopConnectionRemoteInfo sealed : IClosable
/// [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 RemoteDesktopConnectionRemoteInfo final : IClosable
[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 RemoteDesktopConnectionRemoteInfo : System.IDisposable
Public NotInheritable Class RemoteDesktopConnectionRemoteInfo
Implements IDisposable
繼承
Object Platform::Object IInspectable RemoteDesktopConnectionRemoteInfo
屬性
實作

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v15.0 引進)

備註

藉由呼叫 GetForLaunchUri 來取得此類別的實例。

方法

Close()

關閉 RemoteDesktopConnectionRemoteInfo 並清除相關聯的資源。

Current()

表示遠端桌面上的遠端桌面連線。

重要

RemoteDesktopConnectionRemoteInfo API 是有限存取功能的一部分 (請參閱 LimitedAccessFeatures 類別) 。 如需詳細資訊或要求解除鎖定令牌,請使用 LAF存取令牌要求表單

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

GetForLaunchUri(Uri)

擷取與遠端桌面連線相關聯的 RemoteDesktopConnectionRemoteInfo

IsSupported()

表示遠端桌面上的遠端桌面連線。

重要

RemoteDesktopConnectionRemoteInfo API 是有限存取功能的一部分 (請參閱 LimitedAccessFeatures 類別) 。 如需詳細資訊或要求解除鎖定令牌,請使用 LAF存取令牌要求表單

IsSwitchSupported()

取得值,指出應用程式執行所在的 Windows 版本是否支援 RemoteDesktopConnectionRemoteInfo 的切換 API。

ReportSwitched()

通知遠端桌面上的 OS 使用者已切換至遠端桌面,允許 OS 顯示反映切換的 UI。

事件

PerformLocalActionRequested

當應用程式要求在遠端桌面上執行本機動作時引發。

SwitchToLocalSessionRequested

當使用者要求切換至本機桌面時,在遠端桌面主機服務中引發。

適用於