CommonHealthChecksExtensions.ReportHealthy(IManualHealthCheck) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將手動健康情況檢查設定為狀況良好狀態。
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
例外狀況
manualHealthCheck
為 null
。