SystemResources(Double, Double, UInt64, UInt64) Constructor

Definition

Initializes a new instance of the SystemResources struct.

C#
public SystemResources(double guaranteedCpuUnits, double maximumCpuUnits, ulong guaranteedMemoryInBytes, ulong maximumMemoryInBytes);

Parameters

guaranteedCpuUnits
Double

The CPU units available in the system.

maximumCpuUnits
Double

The maximum CPU units available in the system.

guaranteedMemoryInBytes
UInt64

The memory allocated to the system in bytes.

maximumMemoryInBytes
UInt64

The maximum memory allocated to the system in bytes.

Applies to

Toode Versioonid
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)