Поделиться через


RemoteSystemSessionMessageChannel.ValueSetReceived Событие

Определение

Возникает, когда канал получает сообщение (в виде пары "ключ-значение") . Содержимое сообщения содержится переданным объектом RemoteSystemSessionValueSetReceivedEventArgs .

// Register
event_token ValueSetReceived(TypedEventHandler<RemoteSystemSessionMessageChannel, RemoteSystemSessionValueSetReceivedEventArgs const&> const& handler) const;

// Revoke with event_token
void ValueSetReceived(event_token const* cookie) const;

// Revoke with event_revoker
RemoteSystemSessionMessageChannel::ValueSetReceived_revoker ValueSetReceived(auto_revoke_t, TypedEventHandler<RemoteSystemSessionMessageChannel, RemoteSystemSessionValueSetReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemSessionMessageChannel,RemoteSystemSessionValueSetReceivedEventArgs> ValueSetReceived;
function onValueSetReceived(eventArgs) { /* Your code */ }
remoteSystemSessionMessageChannel.addEventListener("valuesetreceived", onValueSetReceived);
remoteSystemSessionMessageChannel.removeEventListener("valuesetreceived", onValueSetReceived);
- or -
remoteSystemSessionMessageChannel.onvaluesetreceived = onValueSetReceived;
Public Custom Event ValueSetReceived As TypedEventHandler(Of RemoteSystemSessionMessageChannel, RemoteSystemSessionValueSetReceivedEventArgs) 

Тип события

Требования к Windows

Возможности приложения
remoteSystem

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