Show / Hide Table of Contents

Struct JobLimits

Settings that control the limits associated with a JobObject.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Fs.Processes.JobObjects
Assembly: Fs.Processes.dll
Syntax
public struct JobLimits

Properties

| Improve this Doc View Source

ActiveProcesses

The maximum number of active processes associated with the job.

Declaration
public uint? ActiveProcesses { get; set; }
Property Value
Type Description
System.Nullable<System.UInt32>
| Improve this Doc View Source

Affinity

The processor affinity for all processes associated with the job.

Declaration
public ulong? Affinity { get; set; }
Property Value
Type Description
System.Nullable<System.UInt64>
| Improve this Doc View Source

CpuRate

Limits to amount of CPU time processes associated with the job may use.

Declaration
public CpuLimit CpuRate { get; set; }
Property Value
Type Description
CpuLimit
| Improve this Doc View Source

MaximumMemory

The maximum amount of virtual memory committed to all processes associated with the job. Attempts to commit memory after this value is reached will fail.

Declaration
public ulong? MaximumMemory { get; set; }
Property Value
Type Description
System.Nullable<System.UInt64>
| Improve this Doc View Source

MaximumProcessMemory

The maximum amount of virtual memory committed to a process associated with the job. Attempts to commit memory beyond this point will fail.

Declaration
public ulong? MaximumProcessMemory { get; set; }
Property Value
Type Description
System.Nullable<System.UInt64>
| Improve this Doc View Source

Options

A set of JobOptions that controls how the job operates.

Declaration
public JobOptions Options { get; set; }
Property Value
Type Description
JobOptions
| Improve this Doc View Source

PreserveTimeLimit

When true, any effective TimeLimit value is preserved. When false, the TimeLimit value replaces the in-effect limit.

Declaration
public bool PreserveTimeLimit { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to true. Assignments to TimeLimit set this property to false.

| Improve this Doc View Source

ProcessTimeLimit

Per-process user mode execution time-limit.

Declaration
public TimeSpan? ProcessTimeLimit { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>
| Improve this Doc View Source

TimeLimit

The per-job user mode execution time limit. The system adds the current time of the processes associated with the job to this limit. For example, if you set this to 1 minute and the job has a process that has accumulated 5 minutes of execution time, the enforced time limit is 6 minutes.

Declaration
public TimeSpan? TimeLimit { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>
Remarks

Assignments to this property set PreserveTimeLimit to false.

| Improve this Doc View Source

UiRestrictions

Specifies UI restrictions to apply to processes associated with the job.

Declaration
public JobUiRestrictions UiRestrictions { get; set; }
Property Value
Type Description
JobUiRestrictions
| Improve this Doc View Source

WorkingSet

The minimum and maximum WorkingSet size for all processes in the job.

Declaration
public? WorkingSet { get; set; }
Property Value
Type Description
System.Nullable<System.>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX