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