Creates a new text message with the given body
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
Visual Basic |
---|
Function CreateTextMessage ( _ text As String _ ) As ITextMessage |
C# |
---|
ITextMessage CreateTextMessage( string text ) |
Visual C++ |
---|
ITextMessage^ CreateTextMessage( String^ text ) |
JavaScript |
---|
function createTextMessage(text); |
Parameters
- text
- Type: System..::..String