Partilhar via


DnssdServiceWatcher.EnumerationCompleted Evento

Definição

Evento disparado quando um DnssdServiceWatcher termina de enumerar instâncias de serviço DNS-SD (Descoberta de Serviço DNS) disponíveis.

Observação

Não há suporte para DnssdServiceWatcher e pode ser alterado ou indisponível no futuro. Em vez disso, use a 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

Aplica-se a