SystemResources Yapı

Tanım

Dikkat

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

Temel alınan sistem tarafından tanımlanan CPU ve bellek sınırları hakkında bilgi sağlar.

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
Devralma
SystemResources
Öznitelikler

Oluşturucular

Name Description
SystemResources(Double, Double, UInt64, UInt64)
Geçersiz.

SystemResources yapısının yeni bir örneğini başlatır.

Özellikler

Name Description
GuaranteedCpuUnits
Geçersiz.

Sistemde kullanılabilen CPU birimlerini alır.

GuaranteedMemoryInBytes
Geçersiz.

Sisteme ayrılan belleği bayt cinsinden alır.

MaximumCpuUnits
Geçersiz.

Sistemde kullanılabilen en yüksek CPU birimlerini alır.

MaximumMemoryInBytes
Geçersiz.

Kapsayıcının istek bellek sınırını veya VM için ayrılan maksimum değeri alır.

Şunlara uygulanır