Share via


RemoteTextConnectionDataHandler 代理人

定義

ローカル (クライアント) コンピューター上のテキスト入力システムからデータ パケットを受信するメソッドを表します。

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 で導入)

注釈

このメソッドが呼び出されると、リモート デスクトップ クライアント アプリケーションは、動的仮想チャネル (DVC) 経由で適切なリモート コンピューターにデータ パケットをTextInput_ClientToServerDVC転送する必要があります。

リモート デスクトップ クライアント アプリケーションは、接続先のリモート セッションごとに、このデリゲートのインスタンスを作成する必要があります。 各デリゲート インスタンスは、対応するリモート接続を表す RemoteTextConnection オブジェクトのコンストラクターに渡す必要があります。

適用対象