RemoteSystemWatcher.RemoteSystemUpdated 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 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
RemoteSystemWatcher::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)
Event Type
Windows requirements
App capabilities |
remoteSystem
|