CommonHealthChecksExtensions Class
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.
Controls various health check features.
public ref class CommonHealthChecksExtensions abstract sealed
public static class CommonHealthChecksExtensions
type CommonHealthChecksExtensions = class
Public Module CommonHealthChecksExtensions
- Inheritance
-
CommonHealthChecksExtensions
Methods
AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable<String>) |
Registers a health check provider that's tied to the application's lifecycle. |
AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, String[]) |
Registers a health check provider that's tied to the application's lifecycle. |
AddManualHealthCheck(IHealthChecksBuilder, IEnumerable<String>) |
Registers a health check provider that enables manual control of the application's health. |
AddManualHealthCheck(IHealthChecksBuilder, String[]) |
Registers a health check provider that enables manual control of the application's health. |
AddTelemetryHealthCheckPublisher(IServiceCollection) |
Registers a health check publisher which emits telemetry representing the application's health. |
AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>) |
Registers a health check publisher which emits telemetry representing the application's health. |
AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection) |
Registers a health check publisher which emits telemetry representing the application's health. |
ReportHealthy(IManualHealthCheck) |
Sets the manual health check to the healthy state. |
ReportUnhealthy(IManualHealthCheck, String) |
Sets the manual health check to return an unhealthy states and an associated reason. |
Applies to
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for