Share via


RemoteTextConnection Constructors

Definition

Overloads

RemoteTextConnection(Guid, RemoteTextConnectionDataHandler)

Creates a new instance of the RemoteTextConnection class specific to one remote session.

RemoteTextConnection(Guid, RemoteTextConnectionDataHandler, RemoteTextConnectionOptions)

RemoteTextConnection(Guid, RemoteTextConnectionDataHandler)

Creates a new instance of the RemoteTextConnection class specific to one remote session.

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)

Parameters

connectionId
Guid

Platform::Guid

winrt::guid

Uniquely identifies a single remote session that the client application has connected to. The value only needs to be unique on the local system. The client will typically create this identifier using CoCreateGuid.

pduForwarder
RemoteTextConnectionDataHandler

Specifies a delegate that will be called back when the client machine text input system needs to send a message to a target on the remote machine.

Applies to

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)

Parameters

connectionId
Guid

Platform::Guid

winrt::guid

Applies to