Dil

ResourceUtilization Yapı

Tanım

Dikkat

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

Belirli bir zamanda kaynak kullanımını yakalar.

public value class ResourceUtilization
[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 ResourceUtilization
public readonly struct ResourceUtilization
[<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 ResourceUtilization = struct
type ResourceUtilization = struct
Public Structure ResourceUtilization
Devralma
ResourceUtilization
Özellikler

Oluşturucular

Veri Akışı Adı Description
ResourceUtilization(Double, UInt64, SystemResources)
Geçersiz.

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

Özellikler

Veri Akışı Adı Description
CpuUsedPercentage
Geçersiz.

CPU kullanım yüzdesini alır.

MemoryUsedInBytes
Geçersiz.

Kullanılan toplam belleği alır.

MemoryUsedPercentage
Geçersiz.

Bellek kullanım yüzdesini alır.

Snapshot
Geçersiz.

Sistemin kaynak kullanımının en son anlık görüntüsünü alır.

SystemResources
Geçersiz.

Temel alınan sistem tarafından tanımlanan CPU ve bellek sınırlarını alır.

Şunlara uygulanır