An NDoc Documented Class Library

IMapMessage.SetObject Method 

Sets an object value with the specified name into the MapMessage.

void SetObject(
   string name,
   object value
);

Parameters

name
The name of the object.
value
The object value to set.

Exceptions

Exception Type Condition
MsgException Thrown when unable to set the value.
ArgumentException Throw when the name is null or an empty string.
MessageFormatException Thrown when the object value is not of a supported type.
MessageNotWriteableException Thrown when the message is read-only.

See Also

IMapMessage Interface | webMethods.Msg Namespace