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
System.Uri

The application name. Cannot be null or empty.

serviceManifestName
System.String

Service manifest name. Cannot be null or empty.

nodeName
System.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

System.ArgumentNullException

Service manifest name cannot be null.

System.ArgumentException

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
System.Uri

The application name. Cannot be null or empty.

serviceManifestName
System.String

Service manifest name. Cannot be null or empty.

servicePackageActivationId
System.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
System.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

System.ArgumentNullException

Service manifest name cannot be null.

System.ArgumentException

Service manifest name is invalid.

Applies to