AsyncQueue<T>::OnEnqueued Method (T, Boolean)

 

Occurs when a value is enqueued.

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

protected:
virtual void OnEnqueued(
	T value,
	bool alreadyDispatched
)

Parameters

value
Type: T

The value.

alreadyDispatched
Type: System::Boolean

true if the item will skip the queue because a dequeuer was already waiting for an item, false if the item was actually added to the queue.

Return to top
Show: