![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | SerializationConfigAddPortableFactory Method |
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic virtual SerializationConfig AddPortableFactory(
int factoryId,
IPortableFactory portableFactory
)
Public Overridable Function AddPortableFactory (
factoryId As Integer,
portableFactory As IPortableFactory
) As SerializationConfig
public:
virtual SerializationConfig^ AddPortableFactory(
int factoryId,
IPortableFactory^ portableFactory
)
abstract AddPortableFactory :
factoryId : int *
portableFactory : IPortableFactory -> SerializationConfig
override AddPortableFactory :
factoryId : int *
portableFactory : IPortableFactory -> SerializationConfig
Parameters
- factoryId
- Type: SystemInt32
factory ID of IPortableFactory to be registered - portableFactory
- Type: Hazelcast.IO.SerializationIPortableFactory
factory instance to be registered
Return Value
Type:
SerializationConfigconfigured
SerializationConfig for chaining
See Also