Creates a BytesMessage object. A BytesMessage object is used to send a message containing a stream of uninterpreted bytes.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Function CreateBytesMessage As IBytesMessage
C#
IBytesMessage CreateBytesMessage()
Visual C++
IBytesMessage^ CreateBytesMessage()

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to create this message due to some internal error.

See Also