Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere .NET API reference » iAnywhere.QAnywhere.Client namespace (.NET 2.0)


QABinaryMessage interface

An QABinaryMessage object is used to send a message containing a stream of uninterpreted bytes. It inherits from the QAMessage class and adds a bytes message body. QABinaryMessage provides a variety of functions to read from and write to the bytes message body.

When the message is first created, the body of the message is in write-only mode. After a message has been sent, the client that sent it can retain and modify it without affecting the message that has been sent. The same message object can be sent multiple times.

When a message is received, the provider has called QABinaryMessage.Reset() so that the message body is in read-only mode and reading of values starts from the beginning of the message body.

Visual Basic
Public Interface QABinaryMessage
public interface QABinaryMessage

QABinaryMessage members
BodyLength property
ReadBinary method
ReadBoolean method
ReadChar method
ReadDouble method
ReadFloat method
ReadInt method
ReadLong method
ReadSbyte method
ReadShort method
ReadString method
Reset method
WriteBinary method
WriteBoolean method
WriteChar method
WriteDouble method
WriteFloat method
WriteInt method
WriteLong method
WriteSbyte method
WriteShort method
WriteString method