Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HealthReportEntry Struct

Definition

Namespace:
Microsoft.Extensions.Diagnostics.HealthChecks
Assembly:
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll
Package:
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions v11.0.0-preview.5.26302.115
Source:
HealthReportEntry.cs
Source:
HealthReportEntry.cs
Source:
HealthReportEntry.cs
Source:
HealthReportEntry.cs
Source:
HealthReportEntry.cs

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.

Represents an entry in a HealthReport. Corresponds to the result of a single IHealthCheck.

public value class HealthReportEntry
public struct HealthReportEntry
type HealthReportEntry = struct
Public Structure HealthReportEntry
Inheritance
HealthReportEntry

Constructors

Name Description
HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>, IEnumerable<String>)

Creates a new HealthReportEntry with the specified values for status, exception, description, and data.

HealthReportEntry(HealthStatus, String, TimeSpan, Exception, IReadOnlyDictionary<String,Object>)

Creates a new HealthReportEntry with the specified values for status, exception, description, and data.

Properties

Name Description
Data

Gets additional key-value pairs describing the health of the component.

Description

Gets a human-readable description of the status of the component that was checked.

Duration

Gets the health check execution duration.

Exception

Gets an Exception representing the exception that was thrown when checking for status (if any).

Status

Gets the health status of the component that was checked.

Tags

Gets the tags associated with the health check.

Applies to


Feedback

Was this page helpful?