Click or drag to resize

ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryDequeue Method

Tries to dequeue the item with minimum key.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool TryDequeue(
	out TKey key,
	out TValue value,
	out TToken token
)

Parameters

key  TKey
On sucessfull return, contains the minimum key value.
value  TValue
On sucessfull return, contains value belonging to the minimum key value.
token  TToken
On successfull return, contains the token associated with the key/value pair with minimum key.

Return Value

Boolean
True if an item could be successfully retrieved from the queue; false if the queue contains no items.
See Also