Initiates in-band registration with the XMPP server in order to register
a new XMPP account.
Namespace: S22.Xmpp.ClientAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void Register( RegistrationCallback callback ) |
Parameters
- callback
- Type: S22.Xmpp.Extensions..::..RegistrationCallback
A callback method invoked to let the user enter any information required by the server in order to complete the registration.
Remarks
See the "Howto: Register an account" guide for a walkthrough on how to
register an XMPP account through the in-band registration process.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The callback parameter is null. |
System..::..NotSupportedException | The XMPP server with does not support the 'In-Band Registration' XMPP extension. |
S22.Xmpp..::..XmppErrorException | The server returned an XMPP error code. Use the Error property of the XmppErrorException to obtain the specific error condition. |
S22.Xmpp..::..XmppException | The server returned invalid data or another unspecified XMPP error occurred. |