Table of Contents

Class ConfigurationHealthCheckService

Namespace
FoundationaLLM.Configuration.Services
Assembly
FoundationaLLM.Configuration.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class ConfigurationHealthCheckService : IHostedService
Inheritance
ConfigurationHealthCheckService
Implements
Inherited Members
Extension Methods

Constructors

ConfigurationHealthCheckService(IConfigurationHealthChecks, IConfiguration, ILogger<ConfigurationHealthCheckService>, IHostApplicationLifetime)

public ConfigurationHealthCheckService(IConfigurationHealthChecks healthChecks, IConfiguration configuration, ILogger<ConfigurationHealthCheckService> logger, IHostApplicationLifetime appLifetime)

Parameters

healthChecks IConfigurationHealthChecks
configuration IConfiguration
logger ILogger<ConfigurationHealthCheckService>
appLifetime IHostApplicationLifetime

Methods

StartAsync(CancellationToken)

Triggered when the application host is ready to start the service.

public Task StartAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Indicates that the start process has been aborted.

Returns

Task

A Task that represents the asynchronous Start operation.

StopAsync(CancellationToken)

Triggered when the application host is performing a graceful shutdown.

public Task StopAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Indicates that the shutdown process should no longer be graceful.

Returns

Task

A Task that represents the asynchronous Stop operation.