Creates an initialized TextMessage object. A
TextMessage object is used to send
a message containing a String.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateTextMessage ( _ text As String _ ) As ITextMessage |
| C# |
|---|
ITextMessage CreateTextMessage( string text ) |
| Visual C++ |
|---|
ITextMessage^ CreateTextMessage( String^ text ) |
Parameters
- text
- Type: System..::..String
the string used to initialize this message
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to create this message due to some internal error. |