RemoteSystemSessionMessageChannel.ValueSetReceived 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当通道接收以键值对) 形式的消息 (时引发。 消息的内容包含在传入的 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
|