Initializes a new instance of the Stanza class.
Namespace: S22.Xmpp.CoreAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public Stanza( string namespace = null, Jid to = null, Jid from = null, string id = null, CultureInfo language = null, params XmlElement[] data ) |
Parameters
- namespace (Optional)
- Type: System..::..String
The xml namespace of the stanza, if any.
- to (Optional)
- Type: S22.Xmpp..::..Jid
The JID of the intended recipient for the stanza.
- from (Optional)
- Type: S22.Xmpp..::..Jid
The JID of the sender.
- id (Optional)
- Type: System..::..String
The ID of the stanza.
- language (Optional)
- Type: System.Globalization..::..CultureInfo
The language of the XML character data of the stanza.
- data
- Type: array<System.Xml..::..XmlElement>[]()[][]
The content of the stanza.