Dela via


ServiceHealth Class

Definition

Describes the health of a service as returned by GetServiceHealthAsync(ServiceHealthQueryDescription).

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

Properties

AggregatedHealthState

Gets the entity aggregated health state.

(Inherited from EntityHealth)
HealthEvents

Gets the health events reported on the entity.

(Inherited from EntityHealth)
HealthStatistics

Gets the service health statistics, which contain information about how many partitions and replicas are in Ok, Warning, and Error state.

PartitionHealthStates

Gets partition health states for the current service.

ServiceName

Gets the service name which uniquely identifies the service health entity.

UnhealthyEvaluations

Gets the unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.

(Inherited from EntityHealth)

Methods

AddUnhealthyEvaluationsString(StringBuilder)

Given a StringBuilder, appends a string that describes unhealthy evaluations, if any.

(Inherited from EntityHealth)
ToString()

Gets a string representation of the ServiceHealth.

Applies to