Class ClientPersistentStateItem
- Namespace
- Sportradar.LiveData.Sdk.Common.Types
- Assembly
- Sportradar.LiveData.Sdk.dll
Client persistent state item.
[Serializable]
public sealed class ClientPersistentStateItem
- Inheritance
-
ClientPersistentStateItem
- Inherited Members
Constructors
ClientPersistentStateItem(string, byte[], DateTime)
Initializes a new instance of the ClientPersistentStateItem class.
public ClientPersistentStateItem(string key, byte[] value, DateTime item_last_updated)
Parameters
keystringThe key
valuebyte[]The value
item_last_updatedDateTimeThe time the item was last updated
Exceptions
Properties
ItemLastUpdated
Time when item was last updated.
public DateTime ItemLastUpdated { get; set; }
Property Value
Key
Persistent state item key.
public string Key { get; set; }
Property Value
Value
Persistent state item value.
public byte[] Value { get; set; }
Property Value
- byte[]
Methods
GetObjectData(SerializationInfo, StreamingContext)
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext