Delen via


ReplicaHealth Class

Definition

Describes the health of a stateful service replica or a stateless service instance as returned by GetReplicaHealthAsync(ReplicaHealthQueryDescription).

[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatefulServiceReplicaHealth))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatelessServiceInstanceHealth))]
public abstract class ReplicaHealth : System.Fabric.Health.EntityHealth
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatefulServiceReplicaHealth))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatelessServiceInstanceHealth))>]
type ReplicaHealth = class
    inherit EntityHealth
Public MustInherit Class ReplicaHealth
Inherits EntityHealth
Inheritance
ReplicaHealth
Derived
Attributes

Properties

AggregatedHealthState

Gets the entity aggregated health state.

(Inherited from EntityHealth)
HealthEvents

Gets the health events reported on the entity.

(Inherited from EntityHealth)
Id

Gets the stateful replica ID or the stateless service instance ID.

Kind

Gets the kind of the replica, either stateless or stateful. Based on this, the replica health can be converted to either StatefulServiceReplicaHealth or StatelessServiceInstanceHealth.

PartitionId

Gets the partition identifier.

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 ReplicaHealth.

Applies to