Click or drag to resize

PofStreamWriterWriteRemainder Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
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: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual void WriteRemainder(
	Binary properties
)

Parameters

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

Implements

IPofWriterWriteRemainder(Binary)
Exceptions
ExceptionCondition
InvalidOperationException If no user type is being written.
IOException If an I/O error occurs.
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.

See Also