WebLogic Messaging API Class Library

IMapMessage. Method 

NOTE: This method is now obsolete.

Method will be removed soon. You can use SetByte(name, unchecked((sbyte)value)) instead


Sets a byte value with the specified name into the Map.

void (
   String name,
   Byte value
);

Parameters

String
the name of the byte
Byte
the byte value to set in the Map

Remarks

Value will be stored as converted signed byte

sbyte
instead of unsigned byte. This is because of java dot interoperability maintenence. Value will be converted back without any loss of data if
GetUnsignedByte
method is used.

Exceptions

Exception Type Condition
MessageException if the JMS provider fails to write the message due to some internal error.
ArgumentException if the name is null or if the name is an empty string.
MessageNotWriteableException if the message is in read-only mode.

See Also

IMapMessage Interface | WebLogic.Messaging Namespace