Message
Class
Superclasses
System.Object
Message
Visual Basic
Public Class Message
C#
public class Message
Purpose
Represent Rendezvous messages.
Remarks
This class has no destroy()
method. Instead, the garbage collector reclaims storage automatically. Nonetheless it is possible to explicitly manage native message storage; see Message.Dispose().
Method |
Description |
Page |
Message Life Cycle and Properties |
||
Fields |
||
|
||
Message Dispatched |
||
Extract the source associated with a (dispatched) message object. |
||
Custom Datatypes (Static Method) |
||
Register a custom datatype for automatic encoding and decoding. |
Member |
Description |
|
Public Instance Properties |
||
|
The number of fields in the message. This count includes only the immediate fields of the message; it does not include fields within recursive submessages. |
Get |
|
Identical to FieldCount, except its type is |
Get |
|
The reply subject of the message. For more information, see Subjects. |
Get Set |
|
The destination subject of the message. When this property is null, the message is unsendable. For more information, see Subjects. |
Get Set |
|
The size of the message (in bytes). |
Get |
Public Static Fields |
||
|
Type designators of custom datatypes must be in the inclusive range defined by these two constants—that is: [MinimumCustomDataTypeIDMaximumCustomDataTypeID, MinimumCustomDataTypeIDMaximumCustomDataTypeID] |
Subjects
Rendezvous routing daemons modify message subjects and reply subjects to enable transparent point-to-point communication across network boundaries. This modification does not apply to subject names stored in within message data fields; we discourage storing point-to-point subject names in data fields.
Subjects and reply subjects are parts of a message’s address information—they are not part of the message itself; see also Supplementary Information for Messages in
.