DnssdServiceWatcherStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Values representing the status of a DnssdServiceWatcher.
Note
DnssdServiceWatcher is not supported and may be altered or unavailable in the future. Instead, use the Windows.Devices.Enumeration API.
Note
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
- Inheritance
-
DnssdServiceWatcherStatus
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Created | 0 | The watcher has been created. |
Started | 1 | The watcher has acknowledged receiving a start command. |
EnumerationCompleted | 2 | The watcher has finished enumerating service instances. |
Stopping | 3 | The watcher has acknowledged receiving a stop command. |
Stopped | 4 | The watcher has completed processing a stop command. |
Aborted | 5 | The watcher has been aborted in the process of enumerating service instances. |