Manipulating Queues in .NET

.NET provides a System.Messaging namespace that provides types used for formatting, sending, and receiving messages as well as for programmatically discovering, creating, and configuring message queues. Table 8-1 lists the key types in this namespace. The MessageQueue class is the heart of this namespace because it provides instance-based members that enable you to interact with a specific queue and shared methods for retrieving information about all the queues on a computer.

Table 8-1.  System.Messaging Classes

Class

Description

BinaryMessageFormatter

Serializes or deserializes a .NET object (or an entire graph of connected objects) to or from the body of a Message Queuing message using a binary format.

Message ...

Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.