Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Gets or sets the IPofContext object used by this
IPofWriter to serialize user types into a POF stream.
Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
| C# |
|---|
IPofContext PofContext { get; set; } |
Field Value
The IPofContext object that contains user type meta-data.
Remarks
This is an advanced method that should be used with care.
For example, if this method is being used to switch to another
IPofContext mid-POF stream, it is important to eventually
restore the original IPofContext. For example:
IPofContext ctxOrig = writer.PofContext;
try
{
// switch to another IPofContext
writer.PofContext = ...;
// write POF data using the writer
}
finally
{
// restore the original PofContext
writer.PofContext = ctxOrig;
}