DatagramSocketControl.QualityOfService DatagramSocketControl.QualityOfService DatagramSocketControl.QualityOfService DatagramSocketControl.QualityOfService DatagramSocketControl.QualityOfService Property

Definition

Gets or sets the quality of service on a DatagramSocket object.

public : SocketQualityOfService QualityOfService { get; set; }
SocketQualityOfService QualityOfService();

void QualityOfService(SocketQualityOfService qualityofservice);
public SocketQualityOfService QualityOfService { get; set; }
Public ReadWrite Property QualityOfService As SocketQualityOfService
var socketQualityOfService = datagramSocketControl.qualityOfService;
datagramSocketControl.qualityOfService = socketQualityOfService;

Property Value

The quality of service on a DatagramSocket object. The default is normal.

Additional features and requirements

Capabilities
ID_CAP_NETWORKING [Windows Phone]

Remarks

This QualityOfService property is the quality of service that DatagramSocket object should provide. The default value is normal.

When the property is set to a value other than normal, the socket will follow a policy to provide the specified quality of service. When the property is set to lowLatency, this sets the thread priority of the incoming packets to a higher value. The lowLatency value would commonly be used for audio or similar apps that are timing sensitive. This property is not normally set for other apps.

This property may be set before the DatagramSocket is bound or connected. After the DatagramSocket is bound or connected, setting this property will result in an error.

See also