Table of Contents

Class StateStoreKey

Namespace
Azure.Iot.Operations.Services.StateStore
Assembly
Azure.Iot.Operations.Services.dll
public class StateStoreKey : StateStoreObject, IEquatable<StateStoreObject>
Inheritance
StateStoreKey
Implements
Inherited Members

Constructors

StateStoreKey(ArraySegment<byte>)

public StateStoreKey(ArraySegment<byte> value)

Parameters

value ArraySegment<byte>

StateStoreKey(byte[])

public StateStoreKey(byte[] key)

Parameters

key byte[]

StateStoreKey(IEnumerable<byte>)

public StateStoreKey(IEnumerable<byte> value)

Parameters

value IEnumerable<byte>

StateStoreKey(Stream)

public StateStoreKey(Stream value)

Parameters

value Stream

StateStoreKey(Stream, long)

public StateStoreKey(Stream value, long length)

Parameters

value Stream
length long

StateStoreKey(string)

public StateStoreKey(string key)

Parameters

key string

Properties

Version

The version of the key.

public HybridLogicalClock? Version { get; }

Property Value

HybridLogicalClock

Remarks

The State Store service tracks the version of each key and updates it each time it is set. The value of this version for a particular key is returned in the response for each get or set request via Version.

Operators

implicit operator StateStoreKey(string)

public static implicit operator StateStoreKey(string value)

Parameters

value string

Returns

StateStoreKey