Dela via


CommonHealthChecksExtensions.ReportHealthy(IManualHealthCheck) Method

Definition

Sets the manual health check to the healthy state.

public:
[System::Runtime::CompilerServices::Extension]
 static void ReportHealthy(Microsoft::Extensions::Diagnostics::HealthChecks::IManualHealthCheck ^ manualHealthCheck);
public static void ReportHealthy (this Microsoft.Extensions.Diagnostics.HealthChecks.IManualHealthCheck manualHealthCheck);
static member ReportHealthy : Microsoft.Extensions.Diagnostics.HealthChecks.IManualHealthCheck -> unit
<Extension()>
Public Sub ReportHealthy (manualHealthCheck As IManualHealthCheck)

Parameters

manualHealthCheck
IManualHealthCheck

The IManualHealthCheck.

Exceptions

manualHealthCheck is null.

Applies to