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