HealthInformation(String, String, HealthState) コンストラクター

定義

HealthInformation クラスの新しいインスタンスを初期化します。

public HealthInformation (string sourceId, string property, System.Fabric.Health.HealthState healthState);
new System.Fabric.Health.HealthInformation : string * string * System.Fabric.Health.HealthState -> System.Fabric.Health.HealthInformation
Public Sub New (sourceId As String, property As String, healthState As HealthState)

パラメーター

sourceId
String

レポートのソース。 または 空に null することはできません。 "System." では開始できません。これは、システム コンポーネントのレポート用に予約キーワード (keyword)です。

property
String

レポートの プロパティ。 または 空に null することはできません。

healthState
HealthState

レポートの正常性状態。 指定する必要があります。 、または のいずれかの値をErrorWarning指定するOk必要があります。

例外

property として null を使用することはできません。

指定 healthState はサポートされていません。

適用対象