FullQueueOption
- Updated2025-07-21
- 1 minute(s) read
FullQueueOption
Use these constants to specify the fqOption parameter of the Queue.Enqueue method. The fqOption parameter specifies the type of action to take when the queue is full.
- FullQueueOption_DiscardBackElement –(Value: 2) Discards the element at the end of the queue before adding the new element to the queue.
- FullQueueOption_DiscardFrontElement –(Value: 1) Discards the element at the front of the queue before adding the new element to the queue.
- FullQueueOption_DoNotEnqueue –(Value: 3) Does not add the new element to the queue.
- FullQueueOption_Wait –(Value: 0) When the queue is full, waits until room exists in the queue before adding the new element to the queue.