Writes an object to the stream message.
Namespace:
Kaazing.JMSThis method works only for the objectified primitive object types (Integer, Double, Long...), String objects, and byte arrays.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Sub WriteObject ( _ value As Object _ ) |
| C# |
|---|
void WriteObject( Object value ) |
| Visual C++ |
|---|
void WriteObject( Object^ value ) |
Parameters
- value
- Type: System..::..Object
the object to be written
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to write the message due to some internal error. |
| Kaazing.JMS..::..MessageFormatException | if the object is invalid. |
| Kaazing.JMS..::..MessageNotWriteableException | if the message is in read-only mode. |