Method Dequeue
Dequeue()
Removes the oldest entry in the collection based on the ordering supplied to the constructor. If an item is not available a busy-wait loop is used to wait for for an item.
Declaration
public KeyValuePair<TKey, TValue> Dequeue()
Returns
Type | Description |
---|---|
KeyValuePair<TKey, TValue> | The Key/Value pair removed. |