你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NodeHealthReport(String, HealthInformation) 构造函数

定义

初始化 NodeHealthReport 类的新实例。

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)

参数

nodeName
String

节点名称。 不能为 null 或空。

healthInformation
HealthInformation

描述 HealthInformation 报告字段(如 sourceId、属性、运行状况)的 。 必需。

例外

运行状况信息不能为 null。

节点名称不能为空。

适用于