共用方式為


CommonHealthChecksExtensions.ReportHealthy(IManualHealthCheck) 方法

定義

將手動健康情況檢查設定為狀況良好狀態。

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)

參數

manualHealthCheck
IManualHealthCheck

IManualHealthCheck

例外狀況

manualHealthChecknull

適用於