RemoteSystemWatcher.RemoteSystemRemoved Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Événement déclenché lorsqu’un système distant (appareil) précédemment découvert n’est plus visible.
// Register
event_token RemoteSystemRemoved(TypedEventHandler<RemoteSystemWatcher, RemoteSystemRemovedEventArgs const&> const& handler) const;
// Revoke with event_token
void RemoteSystemRemoved(event_token const* cookie) const;
// Revoke with event_revoker
RemoteSystemWatcher::RemoteSystemRemoved_revoker RemoteSystemRemoved(auto_revoke_t, TypedEventHandler<RemoteSystemWatcher, RemoteSystemRemovedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemWatcher,RemoteSystemRemovedEventArgs> RemoteSystemRemoved;
function onRemoteSystemRemoved(eventArgs) { /* Your code */ }
remoteSystemWatcher.addEventListener("remotesystemremoved", onRemoteSystemRemoved);
remoteSystemWatcher.removeEventListener("remotesystemremoved", onRemoteSystemRemoved);
- or -
remoteSystemWatcher.onremotesystemremoved = onRemoteSystemRemoved;
Public Custom Event RemoteSystemRemoved As TypedEventHandler(Of RemoteSystemWatcher, RemoteSystemRemovedEventArgs)
Type d'événement
Configuration requise pour Windows
Fonctionnalités de l’application |
remoteSystem
|
Remarques
Cet événement est déclenché uniquement après qu’un système distant a cessé d’être détectable sur toutes les catégories spécifiées par le RemoteSystemDiscoveryTypeFilter associé.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour