Sends the specified message 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 SendMessage(
	Message message
)

Parameters

message
Type: S22.Xmpp.Core..::..Message
The message stanza to send to the server.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe message 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