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.

適用於