| File: Health\AspireHealthCheckEntry.cs | Web Access |
| Project: src\src\Aspire.Hosting\Aspire.Hosting.csproj (Aspire.Hosting) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Diagnostics.HealthChecks; namespace Aspire.Hosting.Health; /// <summary> /// An individual health check result reported by a service in the Aspire health check JSON format. /// </summary> /// <remarks> /// The exception is kept as the text reported by the service instead of being wrapped in a new <see cref="Exception"/>, /// so the dashboard does not show a misleading local exception type. /// </remarks> internal sealed record AspireHealthCheckEntry(HealthStatus Status, string? Description, string? ExceptionText);