The following table shows the MSMQ COM objects with a description of the purpose of each.
| Programming element | Description |
|---|---|
| MSMQApplication | This object is used to obtain information about the Message Queuing service on the local computer, including the name of the local computer. |
| MSMQEvent | This object implements a single event handler that can support multiple queues. |
| MSMQMessage | This object provides access to the properties needed to define a message, plus the methods needed to send the message to its destination queue. |
| MSMQQuery | This object is used for querying the directory service for existing public queues. |
| MSMQQueue | The MSMQQueue object represents an open instance of the queue. |
| MSMQQueueInfo | The MSMQQueueInfo object provides queue management for a single queue. |
| MSMQQueueInfos | The MSMQQueueInfos object is used for enumerating through the collection of public queues returned by the MSMQQuery.LookupQueue method. |
Send Feedback on this topic to the authors