Dela via


DnssdServiceInstance.Priority Property

Definition

Gets or sets the priority value to assign to this service instance, as defined in RFC 2782 A DNS RR for specifying the location of services (DNS SRV). Clients use Priority to decide which of several equivalent service instances to attach to.

public:
 property unsigned short Priority { unsigned short get(); void set(unsigned short value); };
uint16_t Priority();

void Priority(uint16_t value);
public ushort Priority { get; set; }
var uInt16 = dnssdServiceInstance.priority;
dnssdServiceInstance.priority = uInt16;
Public Property Priority As UShort

Property Value

UInt16

unsigned short

uint16_t

The priority value for this service instance. See RFC 2782 A DNS RR for specifying the location of services (DNS SRV) for details on how clients use this value.

Applies to