語言

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
屬性

屬性

名稱 Description
Services
已淘汰.

讓建商操作服務收集。

方法

名稱 Description
AddPublisher<T>()
已淘汰.

新增一個資源利用率發佈者,當資源利用率計算時會被調用。

擴充方法

名稱 Description
ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)
已淘汰.

設定資源監控器。

ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)
已淘汰.

設定資源監控器。

適用於