共用方式為


Microsoft.Extensions.Diagnostics.HealthChecks Namespace

Classes

HealthCheckContext

Health check context. Provides health check registrations to CheckHealthAsync(HealthCheckContext, CancellationToken).

HealthCheckPublisherOptions

Options for the default service that executes IHealthCheckPublisher instances.

HealthCheckRegistration

Represent the registration information associated with an IHealthCheck implementation.

HealthCheckService

A service which can be used to check the status of IHealthCheck instances registered in the application.

HealthCheckServiceOptions

Options for the default implementation of HealthCheckService

HealthReport

Represents the result of executing a group of IHealthCheck instances.

ResourceUsageThresholds

Threshold settings for ResourceUtilizationHealthCheckOptions.

ResourceUtilizationHealthCheckOptions

Options for the resource utilization health check.

TelemetryHealthCheckPublisherOptions

Options for the telemetry health check publisher.

Structs

HealthCheckResult

Represents the result of a health check.

HealthReportEntry

Represents an entry in a HealthReport. Corresponds to the result of a single IHealthCheck.

Interfaces

IHealthCheck

Represents a health check, which can be used to check the status of a component in the application, such as a backend service, database or some internal state.

IHealthCheckPublisher

Represents a publisher of HealthReport information.

IManualHealthCheck

Lets you manually set the health status of the application.

IManualHealthCheck<T>

Lets you manually set the application's health status.

Enums

HealthStatus

Represents the reported status of a health check result.