Share via


IHealthChecksBuilder.Add(HealthCheckRegistration) Method

Definition

Adds a HealthCheckRegistration for a health check.

public:
 Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ Add(Microsoft::Extensions::Diagnostics::HealthChecks::HealthCheckRegistration ^ registration);
public Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder Add (Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration registration);
abstract member Add : Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
Public Function Add (registration As HealthCheckRegistration) As IHealthChecksBuilder

Parameters

Returns

Applies to