Table of Contents

Enum JOB_OBJECT_NET_RATE_CONTROL_FLAGS

Namespace
Windows.Win32.System.JobObjects
Assembly
Ecng.Interop.dll

Specifies types of scheduling policies for network rate control.

[Flags]
public enum JOB_OBJECT_NET_RATE_CONTROL_FLAGS
Extension Methods

Fields

JOB_OBJECT_NET_RATE_CONTROL_DSCP_TAG = 4

Sets the DSCP field in the packet header to the value of the DscpTag member of the JOBOBJECT_NET_RATE_CONTROL_INFORMATION structure. For information about DSCP, see Differentiated Services.

JOB_OBJECT_NET_RATE_CONTROL_ENABLE = 1

Turns on the control of the network traffic. You must set this value if you also set either JOB_OBJECT_NET_RATE_CONTROL_MAX_BANDWIDTH or JOB_OBJECT_NET_RATE_CONTROL_DSCP_TAG.

JOB_OBJECT_NET_RATE_CONTROL_MAX_BANDWIDTH = 2
JOB_OBJECT_NET_RATE_CONTROL_VALID_FLAGS = JOB_OBJECT_NET_RATE_CONTROL_ENABLE | JOB_OBJECT_NET_RATE_CONTROL_MAX_BANDWIDTH | JOB_OBJECT_NET_RATE_CONTROL_DSCP_TAG

The combination of all of the valid flags for the JOB_OBJECT_NET_RATE_CONTROL_FLAGS enumeration.

Remarks