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.3572.0 (4.8.3572.0)
Syntax
C#
public 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

Boolean
true if an item could be successfully retrieved from the queue; otherwise, false.
See Also