IHealthChecksBuilder 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.
A builder used to register health checks.
public interface class IHealthChecksBuilder
public interface IHealthChecksBuilder
type IHealthChecksBuilder = interface
Public Interface IHealthChecksBuilder
Properties
| Name | Description |
|---|---|
| Services |
Gets the IServiceCollection into which IHealthCheck instances should be registered. |
Methods
| Name | Description |
|---|---|
| Add(HealthCheckRegistration) |
Adds a HealthCheckRegistration for a health check. |
Extension Methods
| Name | Description |
|---|---|
|
AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable |
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. |
|
AddAsyncCheck(IHealthChecksBuilder, String, Func |
Adds a new health check with the specified name and implementation. |
|
AddAsyncCheck(IHealthChecksBuilder, String, Func |
Adds a new health check with the specified name and implementation. |
|
AddAsyncCheck(IHealthChecksBuilder, String, Func |
Adds a new health check with the specified name and implementation. |
|
AddAsyncCheck(IHealthChecksBuilder, String, Func |
Adds a new health check with the specified name and implementation. |
|
AddCheck(IHealthChecksBuilder, String, Func |
Adds a new health check with the specified name and implementation. |
|
AddCheck(IHealthChecksBuilder, String, Func |
Adds a new health check with the specified name and implementation. |
|
AddCheck(IHealthChecksBuilder, String, Func |
Adds a new health check with the specified name and implementation. |
|
AddCheck(IHealthChecksBuilder, String, Func |
Adds a new health check with the specified name and implementation. |
|
AddCheck(IHealthChecksBuilder, String, IHealthCheck, Nullable |
Adds a new health check with the specified name and implementation. |
|
AddCheck(IHealthChecksBuilder, String, IHealthCheck, Nullable |
Adds a new health check with the specified name and implementation. |
|
AddCheck |
Adds a new health check with the specified name and implementation. |
|
AddCheck |
Adds a new health check with the specified name and implementation. |
|
AddDbContextCheck |
Adds a health check for the specified DbContext type. |
|
AddManualHealthCheck(IHealthChecksBuilder, IEnumerable |
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. |
|
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action |
Registers a health check provider that monitors resource utilization to assess the application's health. |
|
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action |
Registers a health check provider that monitors resource utilization to assess the application's health. |
|
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, Action |
Registers a health check provider that monitors resource utilization to assess the application's health. |
|
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, IEnumerable |
Registers a health check provider that monitors resource utilization to assess the application's health. |
| AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection, String[]) |
Registers a health check provider that monitors resource utilization to assess the application's health. |
| AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IConfigurationSection) |
Registers a health check provider that monitors resource utilization to assess the application's health. |
|
AddResourceUtilizationHealthCheck(IHealthChecksBuilder, IEnumerable |
Registers a health check provider that monitors resource utilization to assess the application's health. |
| AddResourceUtilizationHealthCheck(IHealthChecksBuilder, String[]) |
Registers a health check provider that monitors resource utilization to assess the application's health. |
|
AddTypeActivatedCheck |
Adds a new type activated health check with the specified name and implementation. |
|
AddTypeActivatedCheck |
Adds a new type activated health check with the specified name and implementation. |
|
AddTypeActivatedCheck |
Adds a new type activated health check with the specified name and implementation. |
|
AddTypeActivatedCheck |
Adds a new type activated health check with the specified name and implementation. |