次の方法で共有


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

適用対象