Megosztás a következőn keresztül:


DnssdServiceInstance.Weight Property

Definition

Gets or sets the weight value assigned to this service instance, as defined in RFC 2782. Clients use the Weight value to choose between servers with the same Priority value.

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

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

Property Value

UInt16

unsigned short

uint16_t

The weight value for this service instance. See RFC 2782 for details on how clients use this value.

Applies to