TryDequeue Method
Attempts to pull an item from the front of the queue.
Syntax
'Usage Dim instance As SignalConcurrentQueue(Of T) Dim item As T Dim value As Boolean value = instance.TryDequeue(item)
Parameters
- item
- Item at the front of the queue or undefined if blocked.
Return Value
True if the item was successfully pulled; false if blocked.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also