Table of Contents

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 bool
fencingToken HybridLogicalClock

Properties

FencingToken

The fencing token that is provided if elected leader.

public HybridLogicalClock? FencingToken { get; }

Property Value

HybridLogicalClock

IsLeader

If the campaign resulted in this client being elected leader.

public bool IsLeader { get; }

Property Value

bool