ReplicaHealth Class

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

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

Namespace:   System.Fabric.Health
Assembly:  System.Fabric (in System.Fabric.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.Health.EntityHealth
    System.Fabric.Health.ReplicaHealth
      System.Fabric.Health.StatefulServiceReplicaHealth
      System.Fabric.Health.StatelessServiceInstanceHealth

Syntax

[KnownTypeAttribute(typeof(StatelessServiceInstanceHealth))]
[KnownTypeAttribute(typeof(StatefulServiceReplicaHealth))]
public abstract class ReplicaHealth : EntityHealth

Properties

Name Description
System_CAPS_pubproperty AggregatedHealthState

Gets the entity aggregated health state.(Inherited from EntityHealth.)

System_CAPS_pubproperty HealthEvents

Gets the health events reported on the entity.(Inherited from EntityHealth.)

System_CAPS_pubproperty Id

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

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

System_CAPS_pubproperty PartitionId

Gets the partition identifier.

System_CAPS_pubproperty UnhealthyEvaluations

Gets the unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.(Inherited from EntityHealth.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric.Health Namespace

Return to top