Delen via


ReplicaHealthState Class

Definition

Represents a base class for stateful service replica or stateless service instance health state.

[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatefulServiceReplicaHealthState))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatelessServiceInstanceHealthState))]
public abstract class ReplicaHealthState : System.Fabric.Health.EntityHealthState
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatefulServiceReplicaHealthState))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Health.StatelessServiceInstanceHealthState))>]
type ReplicaHealthState = class
    inherit EntityHealthState
Public MustInherit Class ReplicaHealthState
Inherits EntityHealthState
Inheritance
ReplicaHealthState
Derived
Attributes

Constructors

ReplicaHealthState(ServiceKind)

Initializes a new instance of the ReplicaHealthState class.

Properties

AggregatedHealthState

Gets the aggregated health state computed by Health Manager based on all reported events and the desired policy.

(Inherited from EntityHealthState)
Id

Gets the stateful replica ID or stateless service instance ID.

Kind

Gets the kind of the service replica.

PartitionId

Gets the partition ID.

Methods

ToString()

Creates a string description of the replica health state.

Applies to