ResourceUtilization(Double, UInt64, SystemResources) Costruttore

Definizione

Inizializza una nuova istanza dell'elemento struct ResourceUtilization.

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)

Parametri

cpuUsedPercentage
Double

Cpu.

memoryUsedInBytes
UInt64

Memoria usata in byte (istantaneo).

systemResources
SystemResources

Limiti di CPU e memoria.

Si applica a