Returns an enumerable collection of blocked contacts.

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

Syntax

C#
public IEnumerable<Jid> GetBlocklist()

Return Value

An enumerable collection of JIDs which are on the client's blocklist.

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionThe server does not support the 'Blocking Command' extension and does not support privacy-list management.
S22.Xmpp..::..XmppErrorExceptionThe server returned an XMPP error code. Use the Error property of the XmppErrorException to obtain the specific error condition.
S22.Xmpp..::..XmppExceptionThe server returned invalid data or another unspecified XMPP error occurred.
System..::..InvalidOperationExceptionThe XmppClient instance is not connected to a remote host.
System..::..ObjectDisposedExceptionThe XmppClient object has been disposed.

See Also