共用方式為


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

屬性值

適用於