SystemResources(Double, Double, UInt64, UInt64) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der SystemResources-Struktur.
public:
SystemResources(double guaranteedCpuUnits, double maximumCpuUnits, System::UInt64 guaranteedMemoryInBytes, System::UInt64 maximumMemoryInBytes);
public SystemResources(double guaranteedCpuUnits, double maximumCpuUnits, ulong guaranteedMemoryInBytes, ulong maximumMemoryInBytes);
new Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources : double * double * uint64 * uint64 -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources
Public Sub New (guaranteedCpuUnits As Double, maximumCpuUnits As Double, guaranteedMemoryInBytes As ULong, maximumMemoryInBytes As ULong)
Parameter
- guaranteedCpuUnits
- Double
Die im System verfügbaren CPU-Einheiten.
- maximumCpuUnits
- Double
Die maximal im System verfügbaren CPU-Einheiten.
- guaranteedMemoryInBytes
- UInt64
Der dem System zugeordnete Arbeitsspeicher in Bytes.
- maximumMemoryInBytes
- UInt64
Der maximale Arbeitsspeicher, der dem System in Bytes zugewiesen ist.