Cursors

Cursors are used by MSMQ to keep track of an application's place in a queue. An application can maintain and manipulate many cursors simultaneously using the MSMQ Library. The MSMQ ActiveX queue objects maintain a single cursor behind the scenes. Both mechanisms enable messages to be examined and optionally removed as cursors are advanced through the queue. Because several applications can interact with a queue concurrently, cursors might not always point to a message. Such is the case when another application removes a message from a queue after your application has already advanced its cursor to that message, but before your application has a chance to actually remove the message.

Cursors are used only when you are interested in messages ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.