IResourceMonitorBuilder 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.
Helps building the resource monitoring infrastructure.
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
- Attributes
Properties
Services |
Gets the service collection being manipulated by the builder. |
Methods
AddPublisher<T>() |
Adds a resource utilization publisher that gets invoked whenever resource utilization is computed. |
Extension Methods
ConfigureMonitor(IResourceMonitorBuilder, IConfigurationSection) |
Configures the resource monitor. |
ConfigureMonitor(IResourceMonitorBuilder, Action<ResourceMonitoringOptions>) |
Configures the resource monitor. |
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET