Multiple-Element Format Names
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
Multiple-element format names (introduced in MSMQ 3.0) are used to reference multiple destination queues. Multiple-element format names can be used when performing the following operations:
To specify multiple destinations in the PROPID_M_DEST_FORMAT_NAME or MSMQMessage.Destination property of a message when sending messages (multiple-element format names cannot be used read messages in a queue).
To specify multiple response queues in PROPID_M_RESP_FORMAT_NAME or MSMQMessage.ResponseDestination when requesting response messages.
Multiple-element format names can contain public format names, private format names, direct format names, and distribution list format names.
Multiple-Element Format Name Syntax
Multiple-element format names contain any number of single-element format names separated by commas. The following is the general form of the multiple-element format names used to reference multiple destinations:
Formatname1,FormatName2,…,FormatNameN
Multiple-Element Format Names and Distribution Lists
Multiple-element format names and distribution lists both reference multiple destinations. The difference between them is that distribution lists are public lists stored in Active Directory Domain Services (AD DS) and multiple-element format names are private lists that must be created and maintained by the application.
For information on | See |
---|---|
Sending messages to multiple queues using multiple-element format names | Multiple-Element Format Names |
Using multiple-element format names to specify multiple response queues | Response Queues |
Ways to obtain a format name | Obtaining Format Names |
The elements and syntax of public format names | Public Format Names |
The elements and syntax of private format names | Private Format Names |
The elements and syntax of distribution list format names | Distribution List Format Names |
The elements and syntax of direct format names | Direct Format Names |
The elements and syntax of machine and connector format names | Machine and Connector Format Names |