Condividi tramite


DnssdServiceWatcher.Stopped Evento

Definizione

Evento attivato quando è stata arrestata un'enumerazione in corso.

Nota

DnssdServiceWatcher non è supportato e potrebbe essere modificato o non disponibile in futuro. Usare invece l'API Windows.Devices.Enumeration.

// Register
event_token Stopped(TypedEventHandler<DnssdServiceWatcher, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
DnssdServiceWatcher::Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<DnssdServiceWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<DnssdServiceWatcher,object> Stopped;
function onStopped(eventArgs) { /* Your code */ }
dnssdServiceWatcher.addEventListener("stopped", onStopped);
dnssdServiceWatcher.removeEventListener("stopped", onStopped);
- or -
dnssdServiceWatcher.onstopped = onStopped;
Public Custom Event Stopped As TypedEventHandler(Of DnssdServiceWatcher, Object) 

Tipo evento

Si applica a