An NDoc Documented Class Library

IBytesMessage.WriteObject Method 

Writes an object to the bytes message stream.

void WriteObject(
   object value
);

Parameters

value
The object value to be written.

Exceptions

Exception Type Condition
MsgException Thrown when the write fails.
MessageFormatException Thrown when the object value is not of a supported type.
ArgumentNullException Throw when the object value is null.
MessageNotWriteableException Thrown when the message is read-only.

See Also

IBytesMessage Interface | webMethods.Msg Namespace