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的 提供的利用率示例进行比较。