PROPERTY
HealthReport.Entries
Exposes results keyed by check registration name for the checks actually executed. Check presence when a release policy requires specific evidence; do not expose exceptions or arbitrary check data to public callers.
Formal Syntax & Structure
csharp syntaxcsharp
report.EntriesWorking Example
Example Snippetcsharp
using System;using System.Collections.Generic;using System.Runtime.InteropServices;using Microsoft.Extensions.Diagnostics.HealthChecks;using Microsoft.AspNetCore.Diagnostics.HealthChecks;var report = new HealthReport(new Dictionary<string,HealthReportEntry>(),TimeSpan.Zero); Console.WriteLine(report.Entries.Count); // 0