C-DEngine 5.105

TheThing..::..GetThingHistory Method (Guid, Int32, Boolean, Boolean%)

Retrieves any available history items since the last time GetThingHistory was called.

Namespace:  nsCDEngine.Engines.ThingService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public List<TheThingStore> GetThingHistory(
	Guid token,
	int maxCount,
	bool bClearHistory,
	out bool dataLossDetected
)
Public Function GetThingHistory ( _
	token As Guid, _
	maxCount As Integer, _
	bClearHistory As Boolean, _
	<OutAttribute> ByRef dataLossDetected As Boolean _
) As List(Of TheThingStore)
public:
List<TheThingStore^>^ GetThingHistory(
	Guid^ token, 
	int^ maxCount, 
	bool^ bClearHistory, 
	[OutAttribute] bool^% dataLossDetected
)

Parameters

token
Type: Guid
The token returned by RegisterForUpdateHistory.
maxCount
Type: Int32
The maximum number of history items to be returned by this call.
bClearHistory
Type: Boolean
Delete any consumed history items. Set to false if you need to restart history retrieval at a later point (using RestartUpdateHistory) in order to retry/recover from failures. Call ClearUpdateHistory at a later point when retries are no longer required to free up system resources. Set to true if full history is not required in case of failure or restarts.
dataLossDetected
Type: Boolean%
true if data loss was detected

Return Value