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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.