SimplePofContextRegisterUserType Method |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Namespace:
Tangosol.IO.Pof
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic 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| Exception | Condition |
|---|
| ArgumentException |
On invalid type identifer, type, or IPofSerializer.
|
See Also