Sets the user's mood to the specified mood value.

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

Syntax

C#
public void SetMood(
	Mood mood,
	string description = null
)

Parameters

mood
Type: S22.Xmpp.Extensions..::..Mood
A value from the Mood enumeration to set the user's mood to.
description (Optional)
Type: System..::..String
A natural-language description of, or reason for, the mood.

Exceptions

ExceptionCondition
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