Bagikan melalui


RemoteSystemSessionMessageChannel.ValueSetReceived Kejadian

Definisi

Dimunculkan saat pesan (dalam bentuk pasangan kunci-nilai) diterima oleh saluran. Konten pesan dimuat oleh objek RemoteSystemSessionValueSetReceivedEventArgs yang diteruskan.

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

Jenis Acara

Persyaratan Windows

Kemampuan aplikasi
remoteSystem

Berlaku untuk