HealthCheckRegistration.FailureStatus 属性

定义

获取或设置在运行状况检查失败时应报告的 HealthStatus

public:
 property Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus FailureStatus { Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus get(); void set(Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus value); };
public Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus FailureStatus { get; set; }
member this.FailureStatus : Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus with get, set
Public Property FailureStatus As HealthStatus

属性值

适用于