Condividi tramite


DnssdServiceWatcher.EnumerationCompleted Evento

Definizione

Evento attivato quando un dnssdServiceWatcher ha completato l'enumerazione delle istanze del servizio DNS (DNS-SD) disponibili.

Nota

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

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

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

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

Tipo evento

Si applica a