Class CampaignResponse
- Namespace
- Azure.Iot.Operations.Services.LeaderElection
- Assembly
- Azure.Iot.Operations.Services.dll
The result of a campaign attempt
public class CampaignResponse
- Inheritance
-
CampaignResponse
- Inherited Members
Constructors
CampaignResponse(bool, HybridLogicalClock?)
public CampaignResponse(bool isLeader, HybridLogicalClock? fencingToken)
Parameters
isLeader
boolfencingToken
HybridLogicalClock
Properties
FencingToken
The fencing token that is provided if elected leader.
public HybridLogicalClock? FencingToken { get; }
Property Value
IsLeader
If the campaign resulted in this client being elected leader.
public bool IsLeader { get; }