Click or drag to resize

IProducerManagerAddTimestampBeforeDisconnect Method

Sets the timestamp of the last processed message for a specific producer

Namespace: Sportradar.OddsFeed.SDK.Messages
Assembly: Sportradar.OddsFeed.SDK.Messages (in Sportradar.OddsFeed.SDK.Messages.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
void AddTimestampBeforeDisconnect(
	int id,
	DateTime timestamp
)

Parameters

id  Int32
The id of the IProducer for which to set timestamp
timestamp  DateTime
A DateTime specifying the message timestamp
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe timestamp is in the future or to far in the past
See Also