O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required