Sdílet prostřednictvím


IResourceUtilizationPublisher Interface

Definition

Caution

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

Defines the contract for a resource utilization publisher that gets invoked whenever resource utilization is computed.

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
[<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
Public Interface IResourceUtilizationPublisher
Attributes

Methods

PublishAsync(ResourceUtilization, CancellationToken)

This method is invoked by the monitoring infrastructure whenever resource utilization is computed.

Applies to