RemoteSystemSessionMessageChannel.ValueSetReceived Ereignis

Definition

Wird ausgelöst, wenn eine Nachricht (in Form eines Schlüssel-Wert-Paares) vom Kanal empfangen wird. Der Inhalt der Nachricht wird vom übergebenen RemoteSystemSessionValueSetReceivedEventArgs-Objekt enthalten.

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

Ereignistyp

Windows-Anforderungen

App-Funktionen
remoteSystem

Gilt für: