Class LeadershipChangeEventArgs
- Namespace
- Azure.Iot.Operations.Services.LeaderElection
- Assembly
- Azure.Iot.Operations.Services.dll
public sealed class LeadershipChangeEventArgs : EventArgs
- Inheritance
-
LeadershipChangeEventArgs
- Inherited Members
Properties
NewLeader
The new leader. This value is null if this update is that the previous leader resigned or ended their term.
public LeaderElectionCandidate? NewLeader { get; }
Property Value
NewState
The new state of the leadership position.
public LeadershipPositionState NewState { get; }
Property Value
Timestamp
The timestamp associated with this event.
public HybridLogicalClock Timestamp { get; }