共用方式為


ResourceUtilizationHealthCheckOptions.CpuThresholds 屬性

定義

取得或設定 CPU 使用率的臨界值。

public:
 property Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUsageThresholds ^ CpuThresholds { Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUsageThresholds ^ get(); void set(Microsoft::Extensions::Diagnostics::HealthChecks::ResourceUsageThresholds ^ value); };
[Microsoft.Extensions.Options.ValidateObjectMembers]
public Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUsageThresholds CpuThresholds { get; set; }
[<Microsoft.Extensions.Options.ValidateObjectMembers>]
member this.CpuThresholds : Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUsageThresholds with get, set
Public Property CpuThresholds As ResourceUsageThresholds

屬性值

屬性

備註

閾值會定期與已註冊 IResourceMonitor的 使用率範例進行比較。

適用於