语言

IResourceMonitor 接口

定义

注意

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

提供对系统进行采样以使用当前资源的功能。

public interface class IResourceMonitor
[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
public interface IResourceMonitor
[<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 IResourceMonitor = interface
type IResourceMonitor = interface
Public Interface IResourceMonitor
特性

方法

名称 说明
GetUtilization(TimeSpan)
已过时.

获取指定时间窗口的利用率。

适用于