com.onlineobject.objectnet Namespace
com.onlineobject.objectnet.server Namespace

EmbeddedMessage..::..Create Method (EmbeddedMessageSendMode, UInt16)

Gets a message instance that can be used for sending.

Namespace:  com.onlineobject.objectnet.server
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public static EmbeddedMessage Create(

	EmbeddedMessageSendMode sendMode,

	ushort id

)

Parameters

sendMode
Type: com.onlineobject.objectnet.server..::..EmbeddedMessageSendMode
The mode in which the message should be sent.
id
Type: UInt16
The message ID.

Return Value

A message instance ready to be sent.