HealthCheckRegistration.FailureStatus 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置在运行状况检查失败时应报告的 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