Receiving Messages from a Queue (Windows CE 5.0)

Send Feedback

When the receiving application receives messages from a queue, the receiving application does the following:

  1. It opens a queue by name.
  2. It retrieves a message or peeks at a message.
  3. It sends required response messages.

Call MQReceiveMessage to read a message in a queue.

As with the desktop implementation, when reading messages, you can either peek at them without removing them from the queue, or retrieve the messages, which removes them from the queue.

Messages can be read synchronously or asynchronously.

Reading from a remote queue is not supported.

See Also

MSMQ Application Development | Creating Queues | Sending Messages to a Queue | Connecting to Another Device | MSMQ COM Support | MSMQ Security

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.