Sets the availability status.
Namespace: S22.Xmpp.ClientAssembly: 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
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The status parameter is null. |
| System..::..ArgumentException | The Availability property of the status parameter has a value of Availability.Offline. |
| System.IO..::..IOException | There was a failure while writing to or reading from the network. |
| System..::..InvalidOperationException | The XmppClient instance is not connected to a remote host, or the XmppClient instance has not authenticated with the XMPP server. |
| System..::..ObjectDisposedException | The XmppClient object has been disposed. |