HealthChecksBuilderAddCheckExtensions Class

Definition

Provides basic extension methods for registering IHealthCheck instances in an IHealthChecksBuilder.

public static class HealthChecksBuilderAddCheckExtensions
Inheritance
HealthChecksBuilderAddCheckExtensions

Methods

AddCheck(IHealthChecksBuilder, String, IHealthCheck, Nullable<HealthStatus>, IEnumerable<String>, Nullable<TimeSpan>)

Adds a new health check with the specified name and implementation.

AddCheck(IHealthChecksBuilder, String, IHealthCheck, Nullable<HealthStatus>, IEnumerable<String>)

Adds a new health check with the specified name and implementation.

AddCheck<T>(IHealthChecksBuilder, String, Nullable<HealthStatus>, IEnumerable<String>, Nullable<TimeSpan>)

Adds a new health check with the specified name and implementation.

AddCheck<T>(IHealthChecksBuilder, String, Nullable<HealthStatus>, IEnumerable<String>)

Adds a new health check with the specified name and implementation.

AddTypeActivatedCheck<T>(IHealthChecksBuilder, String, Nullable<HealthStatus>, IEnumerable<String>, Object[])

Adds a new type activated health check with the specified name and implementation.

AddTypeActivatedCheck<T>(IHealthChecksBuilder, String, Nullable<HealthStatus>, IEnumerable<String>, TimeSpan, Object[])

Adds a new type activated health check with the specified name and implementation.

AddTypeActivatedCheck<T>(IHealthChecksBuilder, String, Nullable<HealthStatus>, Object[])

Adds a new type activated health check with the specified name and implementation.

AddTypeActivatedCheck<T>(IHealthChecksBuilder, String, Object[])

Adds a new type activated health check with the specified name and implementation.

Applies to

Produkt Versionen
.NET 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)