Table of Contents

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

key string

The key

value byte[]

The value

item_last_updated DateTime

The time the item was last updated

Exceptions

ArgumentException

key

Properties

ItemLastUpdated

Time when item was last updated.

public DateTime ItemLastUpdated { get; set; }

Property Value

DateTime

Key

Persistent state item key.

public string Key { get; set; }

Property Value

string

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

info SerializationInfo
context StreamingContext