Writes a string to the bytes message stream using UTF-8 encoding in a
machine-independent manner.
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..::..MessageNotWriteableException | Thrown when the Message is in read-only mode. |
| Apache.NMS..::..NMSException | Thrown when there is an unhandled exception thrown from the provider. |