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

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Sub SetShortProperty ( _
	name As String, _
	value As Short _
)
C#
void SetShortProperty(
	string name,
	short value
)
Visual C++
void SetShortProperty(
	String^ name, 
	short value
)

Parameters

name
Type: System..::..String
the name of the short property
value
Type: System..::..Int16
the short 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