Table of Contents

Enum SetCondition

Namespace
Azure.Iot.Operations.Services.StateStore
Assembly
Azure.Iot.Operations.Services.dll
public enum SetCondition

Fields

OnlyIfEqualOrNotSet = 1

The set operation will only execute if the State Store does not have this key or it has this key and the value in the State Store is equal to the value provided for this set operation.

OnlyIfNotSet = 0

The set operation will only execute if the State Store does not have this key already.

Unconditional = 2

The set operation will execute regardless of if the key exists already and regardless of the value of this key in the State Store.