Reads a float from the stream message.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Function ReadSingle As Single |
| C# |
|---|
float ReadSingle() |
| Visual C++ |
|---|
float ReadSingle() |
| JavaScript |
|---|
function readSingle(); |
Return Value
A Single
Exceptions
| Exception | Condition |
|---|---|
| Apache.NMS..::..NMSException | if the NMS provider fails to read the message due to some internal error. |
| Apache.NMS..::..MessageEOFException | if unexpected end of message stream has been reached. |
| Apache.NMS..::..MessageFormatException | if this type conversion is invalid. |
| Apache.NMS..::..MessageNotReadableException | if the message is in write-only mode. |