Sets the availability status.

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

Syntax

C#
public void SetStatus(
	Status status
)

Parameters

status
Type: S22.Xmpp.Im..::..Status
An instance of the Status class.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe status parameter is null.
System..::..ArgumentExceptionThe Availability property of the status parameter has a value of Availability.Offline.
System.IO..::..IOExceptionThere was a failure while writing to or reading from the network.
System..::..InvalidOperationExceptionThe XmppClient instance is not connected to a remote host, or the XmppClient instance has not authenticated with the XMPP server.
System..::..ObjectDisposedExceptionThe XmppClient object has been disposed.

See Also