Share via

DnssdServiceWatcherStatus Enum


Values representing the status of a DnssdServiceWatcher.


DnssdServiceWatcher is not supported and may be altered or unavailable in the future. Instead, use the Windows.Devices.Enumeration API.


Win32 DNS Service Discovery (DNS-SD) APIs are declared in the windns.h header. For example, the Win32 APIs for announcing and discovering services are DnsServiceRegister and DnsServiceBrowse.

public enum class DnssdServiceWatcherStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DnssdServiceWatcherStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DnssdServiceWatcherStatus
var value = Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcherStatus.created
Public Enum DnssdServiceWatcherStatus

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)


Aborted 5

The watcher has been aborted in the process of enumerating service instances.

Created 0

The watcher has been created.

EnumerationCompleted 2

The watcher has finished enumerating service instances.

Started 1

The watcher has acknowledged receiving a start command.

Stopped 4

The watcher has completed processing a stop command.

Stopping 3

The watcher has acknowledged receiving a stop command.

Applies to