共用方式為


ResourceUtilizationHealthCheckOptions.MemoryThresholds 屬性

定義

取得或設定記憶體使用率的臨界值。

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

屬性值

屬性

備註

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

適用於