System.Messaging
The System.Messaging namespace provides classes and support for interaction with the Microsoft Message Queue (MSMQ). Many classes, structures, and enumerations are part of this namespace. The primary class that interacts with MSMQ is the MessageQueue class.
The MessageQueue class provides a compact and easy-to-use interface to Microsoft Message Queues (MSMQ). Message Queues provide a reliable means to send messages between two processes. If the receiving end is not available, then the message is stored for later retrieval.
A simple example has been put together that sends a message (messagesend.cs) and receives a message (messagereceive.cs). For this sample to work, a public queue “myQueue” needs to be added to the message queue. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access