Partajați prin


HealthCheckServiceCollectionExtensions Class

Definition

Provides extension methods for registering HealthCheckService in an IServiceCollection.

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

Methods

AddHealthChecks(IServiceCollection)

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

Applies to