RemoteSystemWatcher.RemoteSystemRemoved Événement

Définition

É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 à