AsyncQueue<T> Methods

 

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

NameDescription
System_CAPS_pubmethodComplete()

Signals that no further elements will be enqueued.

System_CAPS_pubmethodDequeueAsync(CancellationToken)

Gets a task whose result is the element at the head of the queue.

System_CAPS_pubmethodEnqueue(T)

Adds an element to the tail of the queue.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnCompleted()

Occurs when the queue is completed.

System_CAPS_protmethodOnDequeued(T)

Occurs when a value is dequeued.

System_CAPS_protmethodOnEnqueued(T, Boolean)

Occurs when a value is enqueued.

System_CAPS_pubmethodPeek()

Gets the value at the head of the queue without removing it from the queue.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryDequeue(T)

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

System_CAPS_protmethodTryDequeue(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.

System_CAPS_pubmethodTryEnqueue(T)

Adds an element to the tail of the queue if it has not yet completed.

System_CAPS_pubmethodTryPeek(T)

Gets the value at the head of the queue without removing it from the queue, if it is non-empty.

Return to top
Show: