Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs when a value is enqueued.
Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Protected Overridable Sub OnEnqueued ( _
    value As T, _
    alreadyDispatched As Boolean _
)
protected virtual void OnEnqueued(
    T value,
    bool alreadyDispatched
)
protected:
virtual void OnEnqueued(
    T value, 
    bool alreadyDispatched
)
abstract OnEnqueued : 
        value:'T * 
        alreadyDispatched:bool -> unit  
override OnEnqueued : 
        value:'T * 
        alreadyDispatched:bool -> unit
protected function OnEnqueued(
    value : T, 
    alreadyDispatched : boolean
)
Parameters
value
Type: TThe value.
alreadyDispatched
Type: System.Booleantrue 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.