Creates or updates the privacy list with the name of the specified list on the user's server.

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

Syntax

C#
public void EditPrivacyList(
	PrivacyList list
)

Parameters

list
Type: S22.Xmpp.Im..::..PrivacyList
An instance of the PrivacyList class to create a new privacy list from. If a list with the name of the provided list already exists on the user's server, it is overwritten.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe list parameter is null.
System..::..ArgumentExceptionThe privacy list must contain one or more privacy rules.
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.
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.

See Also