Прочитај на енглеском

Делите путем


HealthCheckServiceCollectionExtensions Class

Definition

Provides extension methods for registering HealthCheckService in an IServiceCollection.

C#
public static class HealthCheckServiceCollectionExtensions
Inheritance
HealthCheckServiceCollectionExtensions

Methods

AddHealthChecks(IServiceCollection)

Adds the HealthCheckService to the container, using the provided delegate to register health checks.

Applies to

Производ Верзије
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)