[TIBCO.EMS .NET client library 7.0 documentation]

Serialize an object.

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

Syntax

void Serialize(
	Stream stream
)
Sub Serialize ( _
	stream As Stream _
)
void Serialize(
	Stream^ stream
)

Parameters

stream
Type: System.IO..::.Stream
The stream to serialize the object

Remarks

When this method is called, the stream already contains context information. That context information resides before the write position of the stream when this method is called (call it initWritePos). Your implementation of this method must not modify that context information or reset the stream’s write pointer to a position before initWritePos.

Do not close the stream after writing nor modify its content prior to the position within the stream when the function is initially invoked.

See Also