SystemResources Struct-datatyp

Definition

Varning

This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.

Innehåller information om de cpu- och minnesgränser som definieras av det underliggande systemet.

public value class SystemResources
[System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public readonly struct SystemResources
public readonly struct SystemResources
[<System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type SystemResources = struct
type SystemResources = struct
Public Structure SystemResources
Arv
SystemResources
Attribut

Konstruktorer

Name Description
SystemResources(Double, Double, UInt64, UInt64)
Föråldrad.

Initierar en ny instans av structen SystemResources .

Egenskaper

Name Description
GuaranteedCpuUnits
Föråldrad.

Hämtar de cpu-enheter som är tillgängliga i systemet.

GuaranteedMemoryInBytes
Föråldrad.

Hämtar det minne som allokerats till systemet i byte.

MaximumCpuUnits
Föråldrad.

Hämtar maximalt antal tillgängliga CPU-enheter i systemet.

MaximumMemoryInBytes
Föråldrad.

Hämtar containerns minnesgräns för begäran eller det maximala allokerade för den virtuella datorn.

Gäller för