Click or drag to resize

ConcurrentPriorityQueueTKey, TValueTryPeek Method

Peeks the element with the minimum key value. An exception is thrown if the queue is empty.

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

Parameters

key  TKey

[Missing <param name="key"/> documentation for "M:Altaxo.Collections.ConcurrentPriorityQueue`2.TryPeek(`0@,`1@)"]

value  TValue

[Missing <param name="value"/> documentation for "M:Altaxo.Collections.ConcurrentPriorityQueue`2.TryPeek(`0@,`1@)"]

Return Value

Boolean
Minimum key value.
Exceptions
ExceptionCondition
InvalidOperationExceptionQueue is empty.
See Also