Share via


DeployedServicePackageHealthReport Constructors

Definition

Overloads

DeployedServicePackageHealthReport(Uri, String, String, HealthInformation)

Initializes a new instance of the DeployedServicePackageHealthReport class.

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

Initializes a new instance of the DeployedServicePackageHealthReport class.

DeployedServicePackageHealthReport(Uri, String, String, HealthInformation)

Initializes a new instance of the DeployedServicePackageHealthReport class.

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)

Parameters

applicationName
Uri

The application name. Cannot be null or empty.

serviceManifestName
String

Service manifest name. Cannot be null or empty.

nodeName
String

The node name. Cannot be null or empty.

healthInformation
HealthInformation

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

Exceptions

Service manifest name cannot be null.

Service manifest name is invalid.

Applies to

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

Initializes a new instance of the DeployedServicePackageHealthReport class.

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)

Parameters

applicationName
Uri

The application name. Cannot be null or empty.

serviceManifestName
String

Service manifest name. Cannot be null or empty.

servicePackageActivationId
String

The ServicePackageActivationId of deployed service package. This can be obtained by using GetDeployedServicePackageListAsync(String, Uri) query.

If ServicePackageActivationMode specified at the time of creating the service was SharedProcess (or if it was not specified, in which case it defaults to SharedProcess), then value of ServicePackageActivationId is always an empty string. For more details please see ServicePackageActivationMode.

nodeName
String

The node name. Cannot be null or empty.

healthInformation
HealthInformation

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

Exceptions

Service manifest name cannot be null.

Service manifest name is invalid.

Applies to