DnssdRegistrationStatus 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 DNS-SD registration attempt.
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 DnssdRegistrationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DnssdRegistrationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DnssdRegistrationStatus
var value = Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationStatus.success
Public Enum DnssdRegistrationStatus
- Inheritance
-
DnssdRegistrationStatus
- 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 |
---|---|---|
Success | 0 | The service has been registered successfully. |
InvalidServiceName | 1 | The service was not registered because the service name provided is not valid. |
ServerError | 2 | The service was not registered because of an error on the DNS server. |
SecurityError | 3 | The service was not registered because security settings did not allow it. |