DnssdServiceInstance(String, HostName, UInt16) DnssdServiceInstance(String, HostName, UInt16) DnssdServiceInstance(String, HostName, UInt16) DnssdServiceInstance(String, HostName, UInt16) DnssdServiceInstance(String, HostName, UInt16) Constructor

Definition

Creates a new DnssdServiceInstance object with the specified instance name, host name, and port.

public : DnssdServiceInstance(Platform::String dnssdServiceInstanceName, HostName hostName, unsigned short port)
DnssdServiceInstance(winrt::hstring dnssdServiceInstanceName, HostName hostName, UInt16 port) const;
public DnssdServiceInstance(String dnssdServiceInstanceName, HostName hostName, UInt16 port)
Public Sub New(dnssdServiceInstanceName As String, hostName As HostName, port As UInt16)
var dnssdServiceInstance = new dnssdServiceInstance(dnssdServiceInstanceName, hostName, port);

Parameters

dnssdServiceInstanceName
String String String

The service instance name for the service instance being created.

hostName
HostName HostName HostName

The hostname for the service instance being created.

port
UInt16 UInt16 UInt16

The port number for the service instance being created.