Click or drag to resize

SerializationConfigAddDataSerializableFactory Method

Adds a IDataSerializableFactory mapped with a factory id to be registered

Namespace:  Hazelcast.Config
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.3
Syntax
public virtual SerializationConfig AddDataSerializableFactory(
	int factoryId,
	IDataSerializableFactory dataSerializableFactory
)

Parameters

factoryId
Type: SystemInt32
factory ID of IDataSerializableFactory to be registered
dataSerializableFactory
Type: Hazelcast.IO.SerializationIDataSerializableFactory
IDataSerializableFactoryobject to be registered

Return Value

Type: SerializationConfig
configured SerializationConfig for chaining
See Also