RemoteSystemWatcher.RemoteSystemUpdated Événement

Définition

Déclenché lorsqu’un système distant (appareil) qui a été précédemment découvert dans cette session de découverte passe d’une connexion immédiate à une connexion au cloud, ou à l’inverse. Elle est également déclenchée lorsqu’un système distant modifie l’une de ses propriétés surveillées (voir les propriétés de la classe RemoteSystem ).

// 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) 

Type d'événement

Configuration requise pour Windows

Fonctionnalités de l’application
remoteSystem

S’applique à