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

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

Gets a completely empty message instance with no header.

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

Syntax


public static EmbeddedMessage Create(

	EmbeddedMessageSendMode sendMode,

	Enum id

)

Return Value

An empty message instance.

Remarks


NOTE: id will be cast to a UInt16. You should ensure that its value never exceeds that of UInt16, otherwise you'll encounter unexpected behaviour when handling messages.