Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Associate a user type with a type identifier and IPofSerializer.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

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

ExceptionCondition
System..::.ArgumentException On invalid type identifer, type, or IPofSerializer.

See Also