PerceptionMonitorChannel.DataReceived Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when a data update for the current channel has been received.
// Register
event_token DataReceived(TypedEventHandler<PerceptionMonitorChannel, PerceptionMonitorDataReceivedEventArgs const&> const& handler) const;
// Revoke with event_token
void DataReceived(event_token const* cookie) const;
// Revoke with event_revoker
PerceptionMonitorChannel::DataReceived_revoker DataReceived(auto_revoke_t, TypedEventHandler<PerceptionMonitorChannel, PerceptionMonitorDataReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<PerceptionMonitorChannel,PerceptionMonitorDataReceivedEventArgs> DataReceived;
function onDataReceived(eventArgs) { /* Your code */ }
perceptionMonitorChannel.addEventListener("datareceived", onDataReceived);
perceptionMonitorChannel.removeEventListener("datareceived", onDataReceived);
- or -
perceptionMonitorChannel.ondatareceived = onDataReceived;
Public Custom Event DataReceived As TypedEventHandler(Of PerceptionMonitorChannel, PerceptionMonitorDataReceivedEventArgs)