RemoteDesktopConnectionRemoteInfo 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示远程桌面上的远程桌面连接。
重要
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
- 继承
- 属性
- 实现
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() |
执行与释放或重置非托管资源关联的应用程序定义的任务。 |
GetForLaunchUri(Uri) |
检索与远程桌面连接关联的 RemoteDesktopConnectionRemoteInfo |
IsSupported() |
表示远程桌面上的远程桌面连接。 重要 RemoteDesktopConnectionRemoteInfo API 是受限访问功能的一部分, (请参阅 LimitedAccessFeatures 类) 。 有关详细信息或请求解锁令牌,请使用 LAF 访问令牌请求表单。 |
IsSwitchSupported() |
获取一个值,该值指示运行应用的 Windows 版本是否支持 RemoteDesktopConnectionRemoteInfo 的切换 API。 |
ReportSwitched() |
通知远程桌面上的 OS 用户已切换到远程桌面,从而允许 OS 显示反映该交换机的 UI。 |
事件
PerformLocalActionRequested |
当应用请求在远程桌面上执行本地操作时引发。 |
SwitchToLocalSessionRequested |
当用户请求切换到本地桌面时,在远程桌面主机服务中引发。 |