语言

IResourceMonitorBuilder 接口

定义

注意

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

帮助构建资源监视基础结构。

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

属性

名称 说明
Services
已过时.

获取生成器正在操作的服务集合。

方法

名称 说明
AddPublisher<T>()
已过时.

添加在计算资源利用率时调用的资源利用率发布服务器。

扩展方法

名称 说明
ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)
已过时.

配置资源监视器。

ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)
已过时.

配置资源监视器。

适用于