Sets a short property value with the specified name into
the message.
Namespace:
Kaazing.JMSAssembly: 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
| 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 |