Table of Contents

Struct JOBOBJECT_NET_RATE_CONTROL_INFORMATION

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

Contains information used to control the network traffic for a job. This structure is used by the SetInformationJobObject and QueryInformationJobObject functions with the JobObjectNetRateControlInformation information class.

public struct JOBOBJECT_NET_RATE_CONTROL_INFORMATION
Inherited Members
Extension Methods

Remarks

You can only set the control of the network traffic on one job in a hierarchy of nested jobs. The settings that you specify apply to that job and the child jobs in the hierarchy for that job. The settings do not apply to the chain of jobs from the parent job up to the top of the hierarchy. You can change the settings on the original job in the hierarchy on which you set rate control. However, attempts to set values for the control of the network rate for any other jobs in the hierarchy, including the parent jobs, fail.

Fields

ControlFlags

A combination of JOB_OBJECT_NET_RATE_CONTROL_FLAGS enumeration values that specify the scheduling policy for network rate control.

public JOB_OBJECT_NET_RATE_CONTROL_FLAGS ControlFlags

Field Value

JOB_OBJECT_NET_RATE_CONTROL_FLAGS

DscpTag

The value to use for the Differentiated Service code point (DSCP) field to turn on network quality of service (QoS) for all outgoing network traffic generated by the processes of the job object. The valid range is from 0x00 through 0x3F. For information about DSCP, see Differentiated Services.

public byte DscpTag

Field Value

byte

MaxBandwidth

The maximum bandwidth for outgoing network traffic for the job, in bytes.

public ulong MaxBandwidth

Field Value

ulong