Sets a float value with the specified name into the Map.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Sub SetFloat ( _ name As String, _ value As Single _ ) |
| C# |
|---|
void SetFloat( string name, float value ) |
| Visual C++ |
|---|
void SetFloat( String^ name, float value ) |
Parameters
- name
- Type: System..::..String
the name of the float
- value
- Type: System..::..Single
the float value to set in the Map
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to write the message due to some internal error. |
| System..::..ArgumentException | if the name is null or if the name is an empty string. |
| Kaazing.JMS..::..MessageNotWriteableException | if the message is in read-only mode. |