4.6 Scenario: Sending a Multicast Message

The following diagram depicts the use of MSMQMessage and MSMQDestination to send a multicast message. First, an instance of the MSMQMessage is created and its properties set. Next, an instance of MSMQDestination is created and the format name is set. Next, the MSMQMessage.Send method is called to send the message. Finally, the MSMQDestination is closed.

Sending a multicast message

Figure 8: Sending a multicast message