An NDoc Documented Class Library

IStreamMessage.ReadBytes Method 

Reads a byte array from the stream message.

int ReadBytes(
   byte[] array
);

Parameters

array
The array to which the bytes are to be read.

Return Value

The byte array length.

Exceptions

Exception Type Condition
MsgException Thrown when unable to read the value.
MessageEOFException Thrown when the end of the stream has been unexpectedly reached.
MessageFormatException Thrown when the type conversion is invalid.
MessageNotReadableException Thrown when the message is write-only.

See Also

IStreamMessage Interface | webMethods.Msg Namespace