RemoteTextConnectionDataHandler 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示从本地(客户端)计算机上的文本输入系统接收数据包的方法。
public delegate bool RemoteTextConnectionDataHandler(Platform::Array <byte> ^ pduData);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.Guid(161479624, 35787, 16821, 176, 86, 87, 231, 112, 33, 191, 27)]
class RemoteTextConnectionDataHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.Guid(161479624, 35787, 16821, 176, 86, 87, 231, 112, 33, 191, 27)]
public delegate bool RemoteTextConnectionDataHandler(byte[] pduData);
var remoteTextConnectionDataHandlerHandler = function(pduData){
/* Your code */
}
Public Delegate Function RemoteTextConnectionDataHandler(pduData As Byte()) As Boolean
参数
- pduData
-
Byte[]
byte[]
包含符合 RDP 文本输入虚拟化协议的数据包的内存缓冲区。
返回值
Boolean
bool
- 属性
Windows 要求
| 设备系列 |
Windows 11 (在 10.0.22000.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)
|
注解
调用此方法时,远程桌面客户端应用程序应通过 TextInput_ClientToServerDVC动态虚拟通道(DVC)将数据包转发到相应的远程计算机。
远程桌面客户端应用程序应为其连接到的每个远程会话创建此委托的实例。 应将每个委托实例传递给表示相应远程连接的 RemoteTextConnection 对象的 构造函数。