IDispatchable.dispatch

Method

Visual Basic

Sub Dispatch ()

C#

void Dispatch ();

Purpose

Dispatch an event; if no event is ready, block.

Remarks

If an event is ready to dispatch, then this call dispatches it, and then returns. If no events are waiting, then this call blocks indefinitely while waiting for the object to receive an event.

Both Queue and QueueGroup implement this method.

See Also

IDispatchable

Queue.Dispatch

QueueGroup.Dispatch