Initializes a new instance of the JID class using the specified domain, node and optionally resource.

Namespace: S22.Xmpp
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Jid(
	string domain,
	string node,
	string resource = null
)

Parameters

domain
Type: System..::..String
The domain of the JID.
node
Type: System..::..String
The node of the JID.
resource (Optional)
Type: System..::..String
The resource of the JID. This may be omitted.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe domain parameter is null.
System..::..ArgumentExceptionThe domain parameter is the empty string.

See Also