Sends the specified presence stanza to the server.

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

Syntax

C#
public void SendPresence(
	Presence presence
)

Parameters

presence
Type: S22.Xmpp.Core..::..Presence
The presence stanza to send to the server.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe presence parameter is null.
System..::..ObjectDisposedExceptionThe XmppCore object has been disposed.
System..::..InvalidOperationExceptionThe XmppCore instance is not connected to a remote host.
System.IO..::..IOExceptionThere was a failure while writing to the network.

See Also