Język

IResourceUtilizationPublisher Interfejs

Definicja

Uwaga

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

Definiuje kontrakt wydawcy wykorzystania zasobów, który jest wywoływany za każdym razem, gdy jest obliczane użycie zasobów.

public interface class IResourceUtilizationPublisher
[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 IResourceUtilizationPublisher
public interface IResourceUtilizationPublisher
[<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 IResourceUtilizationPublisher = interface
type IResourceUtilizationPublisher = interface
Public Interface IResourceUtilizationPublisher
Atrybuty

Metody

Nazwa Opis
PublishAsync(ResourceUtilization, CancellationToken)
Przestarzałe.

Ta metoda jest wywoływana przez infrastrukturę monitorowania za każdym razem, gdy jest obliczane użycie zasobów.

Dotyczy