Compartilhar via


MSMQ COM Support (Windows CE 5.0)

Send Feedback

Message Queuing provides a set of COM objects for developing Message Queuing applications using COM development tools.

The Message Queuing COM objects provide the most common Message Queuing API functionalities needed for developing Message Queuing applications. These include queue lookup, queue management, message management, and queue administration.

MSMQ COM Object Model

The object model described in the following illustrations provides functionality for sending messages to queues, reading messages in queues, as well as additional queue management functionality. The guiding principle in designing the Message Queuing COM objects is object model simplicity.

The following illustration shows an object sending messages to queues.

ms882757.msmq-comobj1(en-us,MSDN.10).gif

Objects Used to Read Messages

The following illustration shows an object that reads messages from a destination queue. (Note that the MSMQDestination object used to send messages cannot be used when reading messages from a queue.)

ms882757.msmq-comobj2(en-us,MSDN.10).gif

Objects Used to Locate Queues

The following objects can be used to locate an existing public queue for sending messages or reading messages. These objects can be used to obtain one or more MSMQQueueInfo objects that can then be used to open the queue for sending or reading message.

ms882757.msmq-comobj3(en-us,MSDN.10).gif

Application Object

Message Queuing provides a single COM application object that can be used to monitor Message Queuing on a computer, retrieve the machine name and machine identifier of a computer, and register internal and external certificates used to authenticate messages.

ms882757.msmq-comobj5(en-us,MSDN.10).gif

See Also

MSMQ Application Development | Using the COM Components | Application Installation of MSMQ | Administration | Debugging MSMQ Installations | MSMQ Security | MSMQ Samples

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.