Share via


HealthReport Constructors

Definition

Overloads

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, TimeSpan)

Create a new HealthReport from the specified results.

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, HealthStatus, TimeSpan)

Create a new HealthReport from the specified results.

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, TimeSpan)

Source:
HealthReport.cs
Source:
HealthReport.cs

Create a new HealthReport from the specified results.

public:
 HealthReport(System::Collections::Generic::IReadOnlyDictionary<System::String ^, Microsoft::Extensions::Diagnostics::HealthChecks::HealthReportEntry> ^ entries, TimeSpan totalDuration);
public HealthReport (System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry> entries, TimeSpan totalDuration);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport : System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry> * TimeSpan -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport
Public Sub New (entries As IReadOnlyDictionary(Of String, HealthReportEntry), totalDuration As TimeSpan)

Parameters

entries
IReadOnlyDictionary<String,HealthReportEntry>

A IReadOnlyDictionary<TKey,TValue> containing the results from each health check.

totalDuration
TimeSpan

A value indicating the time the health check service took to execute.

Applies to

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, HealthStatus, TimeSpan)

Source:
HealthReport.cs
Source:
HealthReport.cs

Create a new HealthReport from the specified results.

public:
 HealthReport(System::Collections::Generic::IReadOnlyDictionary<System::String ^, Microsoft::Extensions::Diagnostics::HealthChecks::HealthReportEntry> ^ entries, Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus status, TimeSpan totalDuration);
public HealthReport (System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry> entries, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus status, TimeSpan totalDuration);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport : System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry> * Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus * TimeSpan -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthReport
Public Sub New (entries As IReadOnlyDictionary(Of String, HealthReportEntry), status As HealthStatus, totalDuration As TimeSpan)

Parameters

entries
IReadOnlyDictionary<String,HealthReportEntry>

A IReadOnlyDictionary<TKey,TValue> containing the results from each health check.

status
HealthStatus

A HealthStatus representing the aggregate status of all the health checks.

totalDuration
TimeSpan

A value indicating the time the health check service took to execute.

Applies to