The Message type exposes the following members.

Constructors

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a textual representation of this instance of the Stanza class.
(Inherited from Stanza.)

Fields

  NameDescription
Protected fieldelement
The XmlElement containing the actual data.
(Inherited from Stanza.)

Properties

  NameDescription
Public propertyAlternateBodies
A dictionary of alternate forms of the message bodies. The keys of the dictionary denote ISO 2 language codes.
Public propertyAlternateSubjects
A dictionary of alternate forms of the message subjects. The keys of the dictionary denote ISO 2 language codes.
Public propertyBody
The body of the message.
Public propertyData
The data of the stanza.
(Inherited from Stanza.)
Public propertyFrom
Specifies the JID of the sender. If this is null, the stanza was generated by the client's server.
(Inherited from Stanza.)
Public propertyId
The ID of the stanza, which may be used for internal tracking of stanzas.
(Inherited from Stanza.)
Public propertyIsEmpty
Determines whether the stanza is empty, i.e. has no child nodes.
(Inherited from Stanza.)
Public propertyLanguage
The language of the XML character data if the stanza contains data that is intended to be presented to a human user.
(Inherited from Stanza.)
Public propertySubject
The subject of the message.
Public propertyThread
The conversation thread this message belongs to.
Public propertyTimestamp
The time at which the message was originally sent.
Public propertyTo
Specifies the JID of the intended recipient for the stanza.
(Inherited from Stanza.)
Public propertyType
The type of the message stanza.

See Also