An NDoc Documented Class Library

IBytesMessage.ReadBytes Method (Byte[])

Reads a byte array from the bytes message stream.

int ReadBytes(
   byte[] array
);

Parameters

array
The byte array into which the bytes are read.

Return Value

The number of bytes read.

Exceptions

Exception Type Condition
MsgException Thrown when the read fails.
MessageEOFException Thrown when the end of the bytes stream has been unexpectedly reached.
MessageNotReadableException Thrown when the message is write-only.

See Also

IBytesMessage Interface | webMethods.Msg Namespace | IBytesMessage.ReadBytes Overload List