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
Associate a user type with a type identifier and
IPofSerializer.
Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public virtual void RegisterUserType( int typeId, Type type, IPofSerializer serializer ) |
Parameters
- typeId
- Type: System..::..Int32
The type identifier of the specified user type; must be greater or equal to 0.
- type
- Type: System..::..Type
The user type to register with this PofContext; must not be null.
- serializer
- Type: Tangosol.IO.Pof..::..IPofSerializer
The IPofSerializer that will be used to serialize and deserialize objects of the specified type.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | On invalid type identifer, type, or IPofSerializer. |