[TIBCO.EMS .NET client library 7.0 documentation]

Return a copy of the message data as a byte array, suitable for archiving in a file

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public static byte[] GetAsBytes(
	Message message
)
Public Shared Function GetAsBytes ( _
	message As Message _
) As Byte()
public:
static array<unsigned char>^ GetAsBytes(
	Message^ message
)

Parameters

message
Type: TIBCO.EMS..::.Message
The source message with which to fill the byte array.

Return Value

The byte array as a copy of the message.

Remarks

To reconstruct the message from bytes use method createFromBytes. Parameter must be an instance of TIBCO Enterprise Message Service Message object.

See Also