Freigeben über


ResourceUtilization(Double, UInt64, SystemResources) Konstruktor

Definition

Initialisiert eine neue Instanz der ResourceUtilization-Struktur.

public:
 ResourceUtilization(double cpuUsedPercentage, System::UInt64 memoryUsedInBytes, Microsoft::Extensions::Diagnostics::ResourceMonitoring::SystemResources systemResources);
public ResourceUtilization (double cpuUsedPercentage, ulong memoryUsedInBytes, Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources systemResources);
new Microsoft.Extensions.Diagnostics.ResourceMonitoring.ResourceUtilization : double * uint64 * Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.ResourceUtilization
Public Sub New (cpuUsedPercentage As Double, memoryUsedInBytes As ULong, systemResources As SystemResources)

Parameter

cpuUsedPercentage
Double

CPU-Auslastung.

memoryUsedInBytes
UInt64

Verwendeter Arbeitsspeicher in Bytes (unmittelbar).

systemResources
SystemResources

CPU- und Arbeitsspeichergrenzwerte.

Gilt für: