[This is preliminary documentation and is subject to change.]
Returns the object at the beginning of the BlockingQueue without
removing it.
Declaration Syntax
C# |
public T Peek()
Return Value
The object at the beginning of the BlockingQueue
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The BlockingQueue is
empty. |