Share via


DnssdServiceInstance.Weight Propiedad

Definición

Obtiene o establece el valor de peso asignado a esta instancia de servicio, tal como se define en RFC 2782. Los clientes usan el valor weight para elegir entre servidores con el mismo valor de prioridad .

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

Valor de propiedad

UInt16

unsigned short

uint16_t

Valor de peso de esta instancia de servicio. Consulte RFC 2782 para obtener más información sobre cómo los clientes usan este valor.

Se aplica a