IResourceMonitor Interface

Definition

Caution

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

Provides the ability to sample the system for current resource utilization.

C#
[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 interface IResourceMonitor
C#
public interface IResourceMonitor
Attributes

Methods

GetUtilization(TimeSpan)

Gets utilization for the specified time window.

Applies to

Proizvod Verzije (Zastarjelo)
.NET (8 (package-provided), 9 (package-provided), 10 (package-provided))