Share via


IManualHealthCheck Interface

Definition

Lets you manually set the health status of the application.

public interface class IManualHealthCheck : IDisposable
public interface IManualHealthCheck : IDisposable
type IManualHealthCheck = interface
    interface IDisposable
Public Interface IManualHealthCheck
Implements IDisposable
Derived
Implements

Properties

Name Description
Result

Gets or sets the health status.

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)

Extension Methods

Name Description
ReportHealthy(IManualHealthCheck)

Sets the manual health check to the healthy state.

ReportUnhealthy(IManualHealthCheck, String)

Sets the manual health check to return an unhealthy states and an associated reason.

Applies to