The Stanza type exposes the following members.

Constructors

  NameDescription
Protected methodStanza(XmlElement)
Initializes a new instance of the Stanza class using the specified XmlElement.
Public methodStanza(String, Jid, Jid, String, CultureInfo, array<XmlElement>[]()[][])
Initializes a new instance of the Stanza class.

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.
(Overrides Object..::..ToString()()()().)

Fields

  NameDescription
Protected fieldelement
The XmlElement containing the actual data.

Properties

  NameDescription
Public propertyData
The data of the stanza.
Public propertyFrom
Specifies the JID of the sender. If this is null, the stanza was generated by the client's server.
Public propertyId
The ID of the stanza, which may be used for internal tracking of stanzas.
Public propertyIsEmpty
Determines whether the stanza is empty, i.e. has no child nodes.
Public propertyLanguage
The language of the XML character data if the stanza contains data that is intended to be presented to a human user.
Public propertyTo
Specifies the JID of the intended recipient for the stanza.

See Also