Partager via


MSMQ COM Support (Windows Embedded CE 6.0)

1/6/2010

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.

Ee498411.9d5e8515-d1a1-4699-ab1d-e473f199d2c7(en-US,WinEmbedded.60).gif

Ee498411.collapse(en-US,WinEmbedded.60).gifObjects 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.)

Ee498411.8e3260cf-9a46-417e-a389-08d322744579(en-US,WinEmbedded.60).gif

Ee498411.collapse(en-US,WinEmbedded.60).gifObjects 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.

Ee498411.05f687c6-4e26-4f39-ab3e-5f10257b3501(en-US,WinEmbedded.60).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.

See Also

Concepts

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

Other Resources

Message Queuing
MSMQ Samples