Creates an initialized ObjectMessage object. An
ObjectMessage object is used
to send a message that contains a serializable object.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateObjectMessage ( _ obj As ISerializable _ ) As IObjectMessage |
| C# |
|---|
IObjectMessage CreateObjectMessage( ISerializable obj ) |
| Visual C++ |
|---|
IObjectMessage^ CreateObjectMessage( ISerializable^ obj ) |
Parameters
- obj
- Type: Kaazing.JMS.Util..::..ISerializable
the object to use to initialize this message
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to create this message due to some internal error. |