Compartilhar via


DeployedServicePackageHealthReport Construtores

Definição

Sobrecargas

DeployedServicePackageHealthReport(Uri, String, String, HealthInformation)

Inicializa uma nova instância da classe DeployedServicePackageHealthReport.

DeployedServicePackageHealthReport(Uri, String, String, String, HealthInformation)

Inicializa uma nova instância da classe DeployedServicePackageHealthReport.

DeployedServicePackageHealthReport(Uri, String, String, HealthInformation)

Inicializa uma nova instância da classe DeployedServicePackageHealthReport.

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

Parâmetros

applicationName
Uri

O nome do aplicativo. Não pode ser nulo ou vazio.

serviceManifestName
String

Nome do manifesto de serviço. Não pode ser nulo ou vazio.

nodeName
String

O nome do nó. Não pode ser nulo ou vazio.

healthInformation
HealthInformation

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

Exceções

O nome do manifesto do serviço não pode ser nulo.

O nome do manifesto do serviço é inválido.

Aplica-se a

DeployedServicePackageHealthReport(Uri, String, String, String, HealthInformation)

Inicializa uma nova instância da classe DeployedServicePackageHealthReport.

public DeployedServicePackageHealthReport (Uri applicationName, string serviceManifestName, string servicePackageActivationId, string nodeName, System.Fabric.Health.HealthInformation healthInformation);
new System.Fabric.Health.DeployedServicePackageHealthReport : Uri * string * string * string * System.Fabric.Health.HealthInformation -> System.Fabric.Health.DeployedServicePackageHealthReport
Public Sub New (applicationName As Uri, serviceManifestName As String, servicePackageActivationId As String, nodeName As String, healthInformation As HealthInformation)

Parâmetros

applicationName
Uri

O nome do aplicativo. Não pode ser nulo ou vazio.

serviceManifestName
String

Nome do manifesto de serviço. Não pode ser nulo ou vazio.

servicePackageActivationId
String

O ServicePackageActivationId do pacote de serviço implantado. Isso pode ser obtido usando GetDeployedServicePackageListAsync(String, Uri) a consulta .

Se ServicePackageActivationMode especificado no momento da criação do serviço foi SharedProcess (ou se ele não foi especificado, nesse caso ele usa como padrão ), o valor de é sempre uma cadeia de ServicePackageActivationId caracteres SharedProcessvazia. Para obter mais detalhes, consulte ServicePackageActivationMode.

nodeName
String

O nome do nó. Não pode ser nulo ou vazio.

healthInformation
HealthInformation

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

Exceções

O nome do manifesto do serviço não pode ser nulo.

O nome do manifesto do serviço é inválido.

Aplica-se a