Compartilhar via


ServiceHealthReport(Uri, HealthInformation) Construtor

Definição

Inicializa uma nova instância de 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)

Parâmetros

serviceName
Uri

O nome do serviço. Obrigatórios.

healthInformation
HealthInformation

O HealthInformation que descreve os campos de relatório, como sourceId, propriedade, estado de integridade. Obrigatórios.

Exceções

Um valor nulo foi passado para um parâmetro obrigatório.

Aplica-se a