Queue.Dispatch
Method
Visual Basic
NotOverrideable Public SubDispatch
()
Implements IDispatchable.dispatch
C#
public void Dispatch
();
Purpose
Dispatch an event; if no event is ready, block.
Remarks
If the queue is not empty, then this call dispatches the event at the head of the queue, and then returns. If the queue is empty, then this call blocks indefinitely while waiting for the queue to receive an event.