TelemetryHealthCheckPublisherOptions.LogOnlyUnhealthy 属性

定义

获取或设置一个值,该值指示是否仅在收到不正常报告时记录。

public:
 property bool LogOnlyUnhealthy { bool get(); void set(bool value); };
public bool LogOnlyUnhealthy { get; set; }
member this.LogOnlyUnhealthy : bool with get, set
Public Property LogOnlyUnhealthy As Boolean

属性值

true 如果只记录不正常的报告,则为 ; false 以始终记录。 默认值为 false

适用于