共用方式為


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

適用於