Writes a float to the stream message.
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..::..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. |