WebLogic Messaging API Class Library |

# IBytesMessage.WriteLong Method

Writes a `long` to the bytes message stream as eight bytes, high byte first.

void WriteLong(
Int64 value
);

#### Parameters

Int64
  the `long` to be written

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to write the message due to some internal error.
MessageNotWriteableException | if the message is in read-only mode.

#### See Also

IBytesMessage Interface | WebLogic.Messaging Namespace