Skip to content
Documentation

IHealthCheckSettings Interface

Settings that control health check behavior of the service. As for now, these settings only contain ShutdownTimeout, which is used to configure the GracefulShutdown.

public interface IHealthCheckSettings

The default settings applied when no configuration section is present.

static HAKOM.Http.Core.Net.Api.IHealthCheckSettings Defaults { get; }

IHealthCheckSettings

The configuration section key under which these settings are stored.

static string Key { get; }

System.String

IHealthCheckSettings.ShutdownTimeout Property

Section titled “IHealthCheckSettings.ShutdownTimeout Property”

The maximum time the host waits for in-flight requests to complete after a stop signal is received before forcefully terminating.

System.TimeSpan ShutdownTimeout { get; }

System.TimeSpan

IHealthCheckSettings.TryRead(IConfigurationSection) Method

Section titled “IHealthCheckSettings.TryRead(IConfigurationSection) Method”

Reads the health check settings from the given configuration section, falling back to Defaults for any value that is not configured.

static HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.Http.Core.Net.Api.IHealthCheckSettings> TryRead(Microsoft.Extensions.Configuration.IConfigurationSection section);

section Microsoft.Extensions.Configuration.IConfigurationSection

The configuration section to read the settings from.

HAKOM.ErrorHandling.Core.Net.Api.Result<IHealthCheckSettings>
A Result<TValue> containing the parsed settings, or a failure if the section could not be read.

© 2026 Volue.Version v0.6.38017 November 2026