Reads a string that has been encoded using a modified UTF-8 format from the bytes
message stream.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Function ReadString As String |
| C# |
|---|
string ReadString() |
| Visual C++ |
|---|
String^ ReadString() |
| JavaScript |
|---|
function readString(); |
Return Value
A String
Exceptions
| Exception | Condition |
|---|---|
| Apache.NMS..::..MessageNotReadableException | Thrown when the Message is in write-only mode. |
| Apache.NMS..::..MessageEOFException | Thrown when an unexpected end of bytes has been reached. |
| Apache.NMS..::..NMSException | Thrown when there is an unhandled exception thrown from the provider. |