Partager via


RemoteSystemSessionMessageChannel.ValueSetReceived Événement

Définition

Déclenché lorsqu’un message (sous la forme d’une paire clé-valeur) est reçu par le canal. Le contenu du message est contenu par l’objet RemoteSystemSessionValueSetReceivedEventArgs transmis.

// 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) 

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
remoteSystem

S’applique à