IResourceUtilizationPublisher Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |