HealthReportSnapshot Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A report produced by a health check about a resource.
public HealthReportSnapshot (string Name, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? Status, string? Description, string? ExceptionText);
new Aspire.Hosting.ApplicationModel.HealthReportSnapshot : string * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * string * string -> Aspire.Hosting.ApplicationModel.HealthReportSnapshot
Public Sub New (Name As String, Status As Nullable(Of HealthStatus), Description As String, ExceptionText As String)
Parameters
- Name
- String
The name of the health check that produced this report.
- Status
- Nullable<HealthStatus>
The state of the resource, according to the report, or null
if a health report has not yet been received for this health check.
- Description
- String
An optional description of the report, for display.
- ExceptionText
- String
An optional string containing exception details.