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

ServiceHealthReport(Uri, HealthInformation) 构造函数

定义

初始化 ServiceHealthReport 的新实例。

public ServiceHealthReport (Uri serviceName, System.Fabric.Health.HealthInformation healthInformation);
new System.Fabric.Health.ServiceHealthReport : Uri * System.Fabric.Health.HealthInformation -> System.Fabric.Health.ServiceHealthReport
Public Sub New (serviceName As Uri, healthInformation As HealthInformation)

参数

serviceName
Uri

服务名称。 必需。

healthInformation
HealthInformation

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

例外

为所需参数传入了 null 值。

适用于