AsyncQueue<T>.OnEnqueued(T, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked when a value is enqueued.
protected:
virtual void OnEnqueued(T value, bool alreadyDispatched);
protected:
virtual void OnEnqueued(T value, bool alreadyDispatched);
virtual void OnEnqueued(T value, bool alreadyDispatched);
protected virtual void OnEnqueued (T value, bool alreadyDispatched);
abstract member OnEnqueued : 'T * bool -> unit
override this.OnEnqueued : 'T * bool -> unit
Protected Overridable Sub OnEnqueued (value As T, alreadyDispatched As Boolean)
Parameters
- value
- T
The enqueued value.
- alreadyDispatched
- 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.