Messages

Applications send messages to one another to indicate status, execute transactions (orders, credit cards, and so on), submit invoices, and generally update data. A message is a unit of information (text or binary) sent from one computer to another. A message can be a simple string, formatted XML, or even an embedded object of executable code. .NET gives us the Message class for working with messages.

The Message class, through its properties, gives us granular control over sending and receiving messages to and from queues. In fact, the Message class has no methods. All manipulation (sending, receiving, formatting, deleting, and so on) of messages is done through associated classes. Remember, when we peeked at and received messages in ...

Get Visual Basic® Programmer's Guide to the .NET Framework Class Library 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.