SystemResources 結構

定義

基礎系統定義的 CPU 和記憶體限制。

public value class SystemResources
public readonly struct SystemResources
type SystemResources = struct
Public Structure SystemResources
繼承
SystemResources

建構函式

SystemResources(Double, Double, UInt64, UInt64)

初始化 SystemResources 結構的新執行個體。

屬性

GuaranteedCpuUnits

取得系統中可用的CPU單位。

GuaranteedMemoryInBytes

取得以位元組為單位配置給系統的記憶體。

MaximumCpuUnits

取得系統中可用的最大 CPU 單位。

MaximumMemoryInBytes

取得配置給系統的最大記憶體,以位元組為單位。

適用於