HealthChecksBuilderAddCheckExtensions 类

定义

提供用于在 IHealthChecksBuilder 中注册 IHealthCheck 实例的基本扩展方法。Provides basic extension methods for registering IHealthCheck instances in an IHealthChecksBuilder.

public ref class HealthChecksBuilderAddCheckExtensions abstract sealed
public static class HealthChecksBuilderAddCheckExtensions
type HealthChecksBuilderAddCheckExtensions = class
Public Module HealthChecksBuilderAddCheckExtensions
继承
HealthChecksBuilderAddCheckExtensions

方法

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

添加具有指定名称和实现的新运行状况检查。Adds a new health check with the specified name and implementation.

AddCheck(IHealthChecksBuilder, String, IHealthCheck, 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.

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

添加具有指定名称和实现的新运行状况检查。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.

适用于