SystemResources Estrutura

Definição

Atenção

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

Fornece informações sobre os limites da CPU e da memória definidos pelo sistema subjacente.

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
Herança
SystemResources
Atributos

Construtores

Name Description
SystemResources(Double, Double, UInt64, UInt64)
Obsoleto.

Inicializa uma nova instância do SystemResources struct.

Propriedades

Name Description
GuaranteedCpuUnits
Obsoleto.

Assim as unidades CPU estão disponíveis no sistema.

GuaranteedMemoryInBytes
Obsoleto.

Obtém a memória alocada ao sistema em bytes.

MaximumCpuUnits
Obsoleto.

Obtém o máximo de unidades de CPU disponíveis no sistema.

MaximumMemoryInBytes
Obsoleto.

Obtém o limite de memória de pedido do contentor ou o máximo alocado para a VM.

Aplica-se a