NodeHealthReport(String, HealthInformation) Constructor

Definition

Initializes a new instance of the NodeHealthReport class.

public NodeHealthReport (string nodeName, System.Fabric.Health.HealthInformation healthInformation);
new System.Fabric.Health.NodeHealthReport : string * System.Fabric.Health.HealthInformation -> System.Fabric.Health.NodeHealthReport
Public Sub New (nodeName As String, healthInformation As HealthInformation)

Parameters

nodeName
String

The node name. Can’t be null or empty.

healthInformation
HealthInformation

The HealthInformation which describes the report fields, like sourceId, property, health state. Required.

Exceptions

Health information can’t be null.

Node name can’t be empty.

Applies to