Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
PofStreamWriter..::.WriteRemainder Method
PofStreamWriter Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
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: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public virtual void WriteRemainder(
    	Binary properties
    )

#### Parameters

properties
  Type: Tangosol.Util..::.Binary
  A Binary 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

Exception | Condition
--- | ---
System..::.InvalidOperationException | If no user type is being written.
System.IO..::.IOException | If an I/O error occurs.

# See Also

PofStreamWriter Class
Tangosol.IO.Pof Namespace