SerializationOptions Class
Namespace: Hazelcast.Serialization
Assembly: Hazelcast.Net.dll
Contains the serialization options
public sealed class SerializationOptions
Inherited Members
Remarks
IIdentifiedDataSerializable, IPortable, custom serializers, and global serializer can be configured using this config.
Constructors
Name | Description |
---|---|
SerializationOptions() | Initializes a new instance of the SerializationOptions class. |
Properties
Name | Description |
---|---|
ClassDefinitions | Gets the collection of IClassDefinition. |
Compact | Gets the compact serialization options. |
DataSerializableFactories | Gets the collection of FactoryOptions<T> of IDataSerializableFactory. |
EnableClrSerialization | Whether to enable CLR serialization via BinaryFormatter. |
Endianness | Gets or sets the Endianness. This value should match the server configuration. |
GlobalSerializer | Gets the GlobalSerializerOptions. |
PortableFactories | Gets the collection of FactoryOptions<T> of IPortableFactory. |
PortableVersion | Gets or sets the portable version. |
Serializers | Gets the collection of SerializerOptions. |
ValidateClassDefinitions | Whether to check for class definition errors at start, and throw an Serialization Exception with error definition. |