ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryDequeue Method |
Tries to dequeue the item with minimum key.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic bool TryDequeue(
out TKey key,
out TValue value,
out TToken token
)
Parameters
- key TKey
- On successful return, contains the minimum key value.
- value TValue
- On successful return, contains the value belonging to the minimum key value.
- token TToken
- On successful return, contains the token associated with the key/value pair with the minimum key.
Return Value
Booleantrue if an item could be successfully retrieved from the queue; otherwise,
false.
See Also