An NDoc Documented Class Library

IMapMessage.SetBytes Method (String, Byte[])

Sets a byte array with the specified name into the MapMessage.

void SetBytes(
   string name,
   byte[] value
);

Parameters

name
The name of the byte array.
value
The byte array 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.
MessageNotWriteableException Thrown when the message is read-only.

See Also

IMapMessage Interface | webMethods.Msg Namespace | IMapMessage.SetBytes Overload List