Język

IResourceMonitorBuilder Interfejs

Definicja

Uwaga

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

Pomaga w tworzeniu infrastruktury monitorowania zasobów.

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
Atrybuty

Właściwości

Nazwa Opis
Services
Przestarzałe.

Pobiera kolekcję usług manipulowaną przez konstruktora.

Metody

Nazwa Opis
AddPublisher<T>()
Przestarzałe.

Dodaje wydawcę wykorzystania zasobów, który jest wywoływany za każdym razem, gdy jest obliczane użycie zasobów.

Metody rozszerzania

Nazwa Opis
ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>)
Przestarzałe.

Konfiguruje monitor zasobów.

ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection)
Przestarzałe.

Konfiguruje monitor zasobów.

Dotyczy