Partilhar via


Message Queuing COM Components

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

Message Queuing provides COM components that support queue lookup, queue management, message management, queue administration, and transaction support. As a group, these components provide most of the same functionality as the Message Queuing API functions.

The Message Queuing COM objects include the following.

Value Meaning
MSMQApplication Provides methods and properties for the application object, including Message Queuing version properties.
MSMQCollection (Introduced in MSMQ 3.0.) Represents a collection of Variant items. It can be used to obtain sets of properties that correspond to the internal state of a queue.
MSMQCoordinatedTransactionDispenser Provides a method that initiates a new MS DTC external transaction and returns an MSMQTransaction object representing the new underlying transaction object.
MSMQDestination (Introduced in MSMQ 3.0.) Represents one or more queues. It can be used to send messages and to specify response queues.
MSMQEvent Provides an event that is fired when a message is found or arrives at the applicable position in the specified queue. Also provides an event that is fired when an error is generated for a message arriving at the applicable position in the specified queue.
MSMQManagement (Introduced in MSMQ 3.0.) Represents the state of a queue and provides administrative properties that are common to both a destination queue and an outgoing queue.
MSMQMessage Provides the message properties used to specify the behavior of the message and a method for sending the message to the queue.
MSMQOutgoingQueueManagement (Introduced in MSMQ 3.0.) Represents the state of an outgoing queue and provides administrative properties that are specific to an outgoing queue.
MSMQQuery Provides a method for creating and initializing an MSMQQueueInfos object that defines a query. The MSMQQueueInfos object stores search criteria and other information needed for querying the directory service for existing public queues that satisfy the search criteria specified.
MSMQQueue Represents an open instance of a Message Queuing queue.
MSMQQueueInfo Represents a Message Queuing queue.
MSMQQueueInfos Represents a query and provides methods for querying the directory service to locate existing public queues that satisfy the search criteria specified in the query.
MSMQQueueManagement (Introduced in MSMQ 3.0.) Represents the state of a destination queue. Provides administrative properties that are specific to a destination queue and a method for obtaining exactly-once-delivery information about transactional messages sent to the queue.
MSMQTransaction Represents an underlying transaction object obtained externally or created internally.
MSMQTransactionDispenser Provides a method that initiates a new Message Queuing internal transaction and returns an MSMQTransaction object representing the new underlying transaction object.