SimpleDataQueueCapacity Property |
Set or Get queue capacity (number of elements it can store) or size of sliding window if it is AutoStatic queue.
Note: if for non time period auto queue, you specify capacity equal to one then queue switch to SingleElement mode.
Note: if for non time period auto queue, you specify capacity not equal to one then queue switch to AutoStatic mode.
Namespace:
FinAnalysis.Base
Assembly:
FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax public int Capacity { get; set; }
Property Value
Type:
Int32Exceptions Exception | Condition |
---|
ArgumentException | Capacity should be more than zero. |
InvalidOperationException | Queue is already initialized. You have to specify capacity before adding elements. |
See Also