Sets a string property value with the specified name into the message.
Exception Type | Condition |
---|---|
MsgException | Thrown when the set property fails. |
ArgumentException | Thrown when the property name is null or an empty string. |
MessageNotWriteableException | Throw when the message is read-only. |