ResourceUtilizationHealthCheckOptions.MemoryThresholds 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定記憶體使用率的臨界值。
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的 使用率範例進行比較。