PriorityQueue TValue  TryTake Method (QueueItemPriority, KeyValuePair QueueItemPriority, TValue  )NetworkComms.Net Help
Try removing an item from the priority queue which has a priority of at least that provided.

Namespace: NetworkCommsDotNet.Tools
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public bool TryTake(
	QueueItemPriority minimumPriority,
	out KeyValuePair<QueueItemPriority, TValue> item
)

Parameters

minimumPriority
Type: NetworkCommsDotNet.Tools QueueItemPriority
The minimum priority to consider
item
Type: OnlineSystem.Collections.Generic KeyValuePair QueueItemPriority, TValue  
Key is priority, lower number is lower priority, and value is TValue

Return Value

Type: OnlineBoolean
True if an item was successfully removed from the queue
See Also