Sets a byte property value with the specified name into
the message.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Sub SetByteProperty ( _ name As String, _ value As Byte _ ) |
| C# |
|---|
void SetByteProperty( string name, byte value ) |
| Visual C++ |
|---|
void SetByteProperty( String^ name, unsigned char value ) |
Parameters
- name
- Type: System..::..String
the name of the byte property
- value
- Type: System..::..Byte
the byte 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 |