Sets a boolean property value with the specified name into the message.

Namespace:  Kaazing.JMS
Assembly:  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

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to set the property due to some internal error.
System..::..ArgumentExceptionif the name is null or if the name is an empty string.
Kaazing.JMS..::..MessageNotWriteableExceptionif properties are read-only

See Also