इसके माध्यम से साझा किया गया


IManualHealthCheck<T> Interface

Definition

Lets you manually set the application's health status.

generic <typename T>
public interface class IManualHealthCheck : IDisposable, Microsoft::Extensions::Diagnostics::HealthChecks::IManualHealthCheck
public interface IManualHealthCheck<T> : IDisposable, Microsoft.Extensions.Diagnostics.HealthChecks.IManualHealthCheck
type IManualHealthCheck<'T> = interface
    interface IManualHealthCheck
    interface IDisposable
Public Interface IManualHealthCheck(Of T)
Implements IDisposable, IManualHealthCheck

Type Parameters

T

The type of IManualHealthCheck.

Implements

Properties

Result

Gets or sets the health status.

(Inherited from IManualHealthCheck)

Methods

Dispose()

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

(Inherited from IDisposable)

Extension Methods

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