AsyncQueue<T>::TryDequeue Method (Predicate<T>^, T)
Visual Studio 2015
Immediately dequeues the element from the head of the queue if one is available that satisfies the specified check, otherwise returns without an element.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Parameters
- valueCheck
-
Type:
System::Predicate<T>^
The test on the head element that must succeed to dequeue.
- value
-
Type:
T
Gets the element from the head of the queue, or the default type if the queue is empty.
Show: