Dela via


IHealthIndicator Interface

Definition

Provides an abstraction for getting or setting the health of a service. The HealthReport can be used to indicate that something is wrong, for example by providing a hint on the home page.

public interface IHealthIndicator
type IHealthIndicator = interface
Public Interface IHealthIndicator
Derived

Methods

GetHealthReport()

Gets the current HealthReport for the service.

SetHealthReport(HealthReport)

Sets the current HealthReport for the service. The new HealthReport replaces the current health of the service, that is, there is only one active HealthReport at any given time.

Applies to