Revokes the previously-approved subscription of the contact with the specified JID.

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

Syntax

C#
public void RevokeSubscription(
	Jid jid
)

Parameters

jid
Type: S22.Xmpp..::..Jid
The JID of the contact whose subscription to revoke.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe jid parameter is null.
System.IO..::..IOExceptionThere was a failure while writing to or reading from the network.
System..::..InvalidOperationExceptionThe XmppIm instance is not connected to a remote host, or the XmppIm instance has not authenticated with the XMPP server.
System..::..ObjectDisposedExceptionThe XmppIm object has been disposed.

See Also