HealthReport 构造函数

定义

重载

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, TimeSpan)

从指定的结果创建新的 HealthReport

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

从指定的结果创建新的 HealthReport

HealthReport(IReadOnlyDictionary<String,HealthReportEntry>, TimeSpan)

Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs

从指定的结果创建新的 HealthReport

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)

参数

entries
IReadOnlyDictionary<String,HealthReportEntry>

IReadOnlyDictionary<TKey,TValue>,其中包含来自每次运行状况检查的结果。

totalDuration
TimeSpan

一个值,指示执行运行状况检查服务所需的时间。

适用于

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

Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs
Source:
HealthReport.cs

从指定的结果创建新的 HealthReport

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)

参数

entries
IReadOnlyDictionary<String,HealthReportEntry>

IReadOnlyDictionary<TKey,TValue>,其中包含来自每次运行状况检查的结果。

status
HealthStatus

一个 HealthStatus ,表示所有运行状况检查的聚合状态。

totalDuration
TimeSpan

一个值,指示执行运行状况检查服务所需的时间。

适用于