共用方式為


RemoteTextConnection 建構函式

定義

多載

RemoteTextConnection(Guid, RemoteTextConnectionDataHandler)

建立一個遠端會話專屬之 RemoteTextConnection 類別的新實例。

RemoteTextConnection(Guid, RemoteTextConnectionDataHandler, RemoteTextConnectionOptions)

RemoteTextConnection(Guid, RemoteTextConnectionDataHandler)

建立一個遠端會話專屬之 RemoteTextConnection 類別的新實例。

public:
 RemoteTextConnection(Platform::Guid connectionId, RemoteTextConnectionDataHandler ^ pduForwarder);
 RemoteTextConnection(winrt::guid const& connectionId, RemoteTextConnectionDataHandler const& pduForwarder);
public RemoteTextConnection(Guid connectionId, RemoteTextConnectionDataHandler pduForwarder);
function RemoteTextConnection(connectionId, pduForwarder)
Public Sub New (connectionId As Guid, pduForwarder As RemoteTextConnectionDataHandler)

參數

connectionId
Guid

Platform::Guid

winrt::guid

唯一識別用戶端應用程式已連線的單一遠端會話。 值在本機系統上只需要是唯一的。 用戶端通常會使用 CoCreateGuid建立此識別碼。

pduForwarder
RemoteTextConnectionDataHandler

指定當用戶端電腦文字輸入系統需要將訊息傳送至遠端電腦上的目標時,將會呼叫的委派。

適用於

RemoteTextConnection(Guid, RemoteTextConnectionDataHandler, RemoteTextConnectionOptions)

public:
 RemoteTextConnection(Platform::Guid connectionId, RemoteTextConnectionDataHandler ^ pduForwarder, RemoteTextConnectionOptions options);
 RemoteTextConnection(winrt::guid const& connectionId, RemoteTextConnectionDataHandler const& pduForwarder, RemoteTextConnectionOptions const& options);
public RemoteTextConnection(Guid connectionId, RemoteTextConnectionDataHandler pduForwarder, RemoteTextConnectionOptions options);
function RemoteTextConnection(connectionId, pduForwarder, options)
Public Sub New (connectionId As Guid, pduForwarder As RemoteTextConnectionDataHandler, options As RemoteTextConnectionOptions)

參數

connectionId
Guid

Platform::Guid

winrt::guid

適用於