SystemResources(Double, Double, UInt64, UInt64) Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de SystemResources struct.
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)
Parameters
- guaranteedCpuUnits
- Double
De CPU-eenheden die beschikbaar zijn in het systeem.
- maximumCpuUnits
- Double
De maximale CPU-eenheden die beschikbaar zijn in het systeem.
- guaranteedMemoryInBytes
- UInt64
Het geheugen dat is toegewezen aan het systeem in bytes.
- maximumMemoryInBytes
- UInt64
Het maximale geheugen dat is toegewezen aan het systeem in bytes.