WebLogic Messaging API Class Library

IMessage.SetStringProperty�Method�

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

void�SetStringProperty(
���stringname,
���stringvalue
);

Parameters

name
the name of the String property
value
the String property value to set

Exceptions

Exception Type Condition
MessageException if JMS fails to set the property due to some internal error.
ArgumentException if the name is null or if the name is an empty string.
MessageNotWriteableException if properties are read-only

See Also

IMessage Interface | WebLogic.Messaging Namespace