Click or drag to resize

SimplePofContextRegisterUserType Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Associate a user type with a type identifier and IPofSerializer.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual void RegisterUserType(
	int typeId,
	Type type,
	IPofSerializer serializer
)

Parameters

typeId
Type: SystemInt32
The type identifier of the specified user type; must be greater or equal to 0.
type
Type: SystemType
The user type to register with this PofContext; must not be null.
serializer
Type: Tangosol.IO.PofIPofSerializer
The IPofSerializer that will be used to serialize and deserialize objects of the specified type.
Exceptions
ExceptionCondition
ArgumentException On invalid type identifer, type, or IPofSerializer.
See Also