Click or drag to resize

SimpleDataQueuePut Method (Double, DateTime)

Stores new data element in queue. This method for automatic managed or single element queue. Do not call it for manually managed queue or dynamic automatic queue (ManualControl type). Note: Please do not use both with and without DateTime method for one queue instance.

Namespace:  FinAnalysis.Base
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public bool Put(
	double data,
	DateTime time
)

Parameters

data
Type: SystemDouble
Data element to store.
time
Type: SystemDateTime
User defined time. Note: if time is earlier than previous, queue will ignore this call.

Return Value

Type: Boolean
Returns true if and only if we succeed to add element.

Implements

IDataQueueTPut(T, DateTime)
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when you trying to use this method for ManualControl queue. Or try to use this method after you have already used method without DateTime.
See Also