An NDoc Documented Class Library

IMessage.SetStringProperty Method 

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

void SetStringProperty(
   string name,
   string value
);

Parameters

name
The name of the string property.
value
The string property value.

Exceptions

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.

See Also

IMessage Interface | webMethods.Msg Namespace