Writes a string to the stream message.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Sub WriteString ( _ value As String _ ) |
| C# |
|---|
void WriteString( string value ) |
| Visual C++ |
|---|
void WriteString( String^ value ) |
| JavaScript |
|---|
function writeString(value); |
Parameters
- value
- Type: System..::..String
A String
Exceptions
| Exception | Condition |
|---|---|
| Apache.NMS..::..NMSException | if the NMS provider fails to write to the message due to some internal error. |
| Apache.NMS..::..MessageNotWriteableException | if the message is in read-only mode. |