SystemResources 構造体

定義

注意事項

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

基になるシステムによって定義された CPU とメモリの制限に関する情報を提供します。

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
継承
SystemResources
属性

コンストラクター

名前 説明
SystemResources(Double, Double, UInt64, UInt64)
古い.

SystemResources 構造体の新しいインスタンスを初期化します。

プロパティ

名前 説明
GuaranteedCpuUnits
古い.

システムで使用可能な CPU ユニットを取得します。

GuaranteedMemoryInBytes
古い.

システムに割り当てられたメモリをバイト単位で取得します。

MaximumCpuUnits
古い.

システムで使用できる最大 CPU ユニット数を取得します。

MaximumMemoryInBytes
古い.

コンテナーの要求メモリ制限または VM に割り当てられた最大値を取得します。

適用対象