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
valueArraySegment<byte>
StateStoreKey(byte[])
public StateStoreKey(byte[] key)
Parameters
keybyte[]
StateStoreKey(IEnumerable<byte>)
public StateStoreKey(IEnumerable<byte> value)
Parameters
valueIEnumerable<byte>
StateStoreKey(Stream)
public StateStoreKey(Stream value)
Parameters
valueStream
StateStoreKey(Stream, long)
public StateStoreKey(Stream value, long length)
Parameters
StateStoreKey(string)
public StateStoreKey(string key)
Parameters
keystring
Properties
Version
The version of the key.
public HybridLogicalClock? Version { get; }
Property Value
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 StateStoreResponse.Version.
Operators
implicit operator StateStoreKey(string)
public static implicit operator StateStoreKey(string value)
Parameters
valuestring