Share via


ServicesHealthEvaluation Class

Definition

Represents health evaluation for services of a certain service type belonging to an application, containing health evaluations for each unhealthy service that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.

public sealed class ServicesHealthEvaluation : System.Fabric.Health.HealthEvaluation
type ServicesHealthEvaluation = class
    inherit HealthEvaluation
Public NotInheritable Class ServicesHealthEvaluation
Inherits HealthEvaluation
Inheritance
ServicesHealthEvaluation

Properties

AggregatedHealthState

The aggregated health state of the evaluated entity.

(Inherited from HealthEvaluation)
Description

Gets the description of the health evaluation, which represents a summary of the evaluation process.

(Inherited from HealthEvaluation)
Kind

Gets the kind of the health evaluation.

(Inherited from HealthEvaluation)
MaxPercentUnhealthyServices

Gets the maximum allowed percentage of unhealthy services from the ServiceTypeHealthPolicy.

ServiceTypeName

Gets the service type name.

TotalCount

Gets the total number of services of the current service type in the application from the health store.

UnhealthyEvaluations

Gets the list of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ServiceHealthEvaluation that impacted the aggregated health.

Methods

ToString()

Returns a string representation of the health evaluation.

(Inherited from HealthEvaluation)

Applies to