An NDoc Documented Class Library

IMessage.SetObjectProperty Method 

Sets an object property value with the specified name into the message.

void SetObjectProperty(
   string name,
   object value
);

Parameters

name
The name of the object property.
value
The object 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