HealthReport.Status 属性

定义

获取 HealthStatus,其表示所有运行状况检查的聚合状态。 的值Status将是运行状况检查报告的最严重状态。 如果未执行任何检查,则该值始终是 Healthy

public:
 property Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus Status { Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus get(); };
public Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus Status { get; }
member this.Status : Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus
Public ReadOnly Property Status As HealthStatus

属性值

适用于