RemoteSystemWatcher.RemoteSystemUpdated Event

Definition

Raised when a remote system (device) that was previously discovered in this discovery session changes from proximally connected to cloud connected, or the reverse. It is also raised when a remote system changes one of its monitored properties (see the properties of the RemoteSystem class).

// Register
event_token RemoteSystemUpdated(TypedEventHandler<RemoteSystemWatcher, RemoteSystemUpdatedEventArgs const &> const& handler) const;

// Revoke with event_token
void RemoteSystemUpdated(event_token const* cookie) const;

// Revoke with event_revoker
RemoteSystemUpdated_revoker RemoteSystemUpdated(auto_revoke_t, TypedEventHandler<RemoteSystemWatcher, RemoteSystemUpdatedEventArgs const &> const& handler) const;
public event TypedEventHandler<RemoteSystemWatcher,RemoteSystemUpdatedEventArgs> RemoteSystemUpdated;
function onRemoteSystemUpdated(eventArgs) { /* Your code */ }
remoteSystemWatcher.addEventListener("remotesystemupdated", onRemoteSystemUpdated);
remoteSystemWatcher.removeEventListener("remotesystemupdated", onRemoteSystemUpdated);
- or -
remoteSystemWatcher.onremotesystemupdated = onRemoteSystemUpdated;
Public Custom Event RemoteSystemUpdated As TypedEventHandler(Of RemoteSystemWatcher, RemoteSystemUpdatedEventArgs) 

Returns

TypedEventHandler<RemoteSystemWatcher,RemoteSystemUpdatedEventArgs>

Windows 10 requirements

App capabilities
remoteSystem

Applies to