Write the remaining properties to the POF stream, terminating the writing of the currrent user type.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.1.2.0 (12.1.2.0)

Syntax

C#
public override void WriteRemainder(
	Binary properties
)

Parameters

properties
Type: Tangosol.Util..::..Binary
A Byte[] object containing zero or more indexed properties in binary POF encoded form; may be null.

Implements

IPofWriter..::..WriteRemainder(Binary)

Remarks

As part of writing out a user type, this method must be called by the IPofSerializer that is writing out the user type, or the POF stream will be corrupted.

Calling this method terminates the current user type by writing a -1 to the POF stream after the last indexed property. Subsequent calls to the various WriteXYZ methods of this interface will fail after this method is called.

Exceptions

ExceptionCondition
System..::..InvalidOperationException If no user type is being written.
System.IO..::..IOException If an I/O error occurs.

See Also