Sends the specified message stanza to the server.
Namespace: S22.Xmpp.CoreAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | The message parameter is null. |
System..::..ObjectDisposedException | The XmppCore object has been disposed. |
System..::..InvalidOperationException | The XmppCore instance is not connected to a remote host. |
System.IO..::..IOException | There was a failure while writing to the network. |