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

Применяется к