Compartir a través de


AsyncQueue<T>.TryDequeue Method

Include Protected Members
Include Inherited Members

Immediately dequeues the element from the head of the queue if one is available, otherwise returns without an element.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method TryDequeue(T%) Immediately dequeues the element from the head of the queue if one is available, otherwise returns without an element.
Protected method TryDequeue(Predicate<T>, T%) Immediately dequeues the element from the head of the queue if one is available that satisfies the specified check, otherwise returns without an element.

Top

See Also

Reference

AsyncQueue<T> Class

Microsoft.VisualStudio.Threading Namespace