Partajați prin


HealthChecksBuilderDelegateExtensions Class

Definition

Provides extension methods for registering delegates with the IHealthChecksBuilder.

public ref class HealthChecksBuilderDelegateExtensions abstract sealed
public static class HealthChecksBuilderDelegateExtensions
type HealthChecksBuilderDelegateExtensions = class
Public Module HealthChecksBuilderDelegateExtensions
Inheritance
HealthChecksBuilderDelegateExtensions

Methods

AddAsyncCheck(IHealthChecksBuilder, String, Func<CancellationToken,Task<HealthCheckResult>>, IEnumerable<String>)

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

AddAsyncCheck(IHealthChecksBuilder, String, Func<CancellationToken,Task<HealthCheckResult>>, IEnumerable<String>, Nullable<TimeSpan>)

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

AddAsyncCheck(IHealthChecksBuilder, String, Func<Task<HealthCheckResult>>, IEnumerable<String>)

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

AddAsyncCheck(IHealthChecksBuilder, String, Func<Task<HealthCheckResult>>, IEnumerable<String>, Nullable<TimeSpan>)

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

AddCheck(IHealthChecksBuilder, String, Func<CancellationToken,HealthCheckResult>, IEnumerable<String>)

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

AddCheck(IHealthChecksBuilder, String, Func<CancellationToken,HealthCheckResult>, IEnumerable<String>, Nullable<TimeSpan>)

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

AddCheck(IHealthChecksBuilder, String, Func<HealthCheckResult>, IEnumerable<String>)

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

AddCheck(IHealthChecksBuilder, String, Func<HealthCheckResult>, IEnumerable<String>, Nullable<TimeSpan>)

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

Applies to