WebLogic Messaging API Class Library

IMapMessage.SetBytes�Method�(String, Byte[])

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

void�SetBytes(
���stringname,
���byte[]value
);

Parameters

name
the name of the byte array
value
the byte array value to set in the Map; the array is copied so that the value for name will not be altered by future modifications

Exceptions

Exception Type Condition
MessageException if JMS fails to write the message due to some internal error.
NullReferenceException 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 | IMapMessage.SetBytes Overload List