Compartir a través de


DnssdServiceWatcher.EnumerationCompleted Evento

Definición

Evento desencadenado cuando un DnssdServiceWatcher ha terminado de enumerar las instancias de servicio de detección de servicios DNS (DNS-SD) disponibles.

Nota:

DnssdServiceWatcher no se admite y puede modificarse o no estar disponible en el futuro. En su lugar, use la 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 de evento

Se aplica a