Sends a request to subscribe to the presence of the contact with the
specified JID.
Namespace: S22.Xmpp.ImAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public void RequestSubscription( Jid jid ) |
Parameters
- jid
- Type: S22.Xmpp..::..Jid
The JID of the contact to request a subscription from.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The jid parameter is null. |
| System.IO..::..IOException | There was a failure while writing to or reading from the network. |
| System..::..InvalidOperationException | The XmppIm instance is not connected to a remote host, or the XmppIm instance has not authenticated with the XMPP server. |
| System..::..ObjectDisposedException | The XmppIm object has been disposed. |