Write a four byte value to the message stream representing the float
value passed. High byte first.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Sub WriteSingle ( _ value As Single _ ) |
| C# |
|---|
void WriteSingle( float value ) |
| Visual C++ |
|---|
void WriteSingle( float value ) |
| JavaScript |
|---|
function writeSingle(value); |
Parameters
- value
- Type: System..::..Single
A Single
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. |