.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    SerializationOptions Class

    Namespace: Hazelcast.Serialization
    Assembly: Hazelcast.Net.dll

    Contains the serialization options

    public sealed class SerializationOptions
    Inheritance
    object
    SerializationOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Methods

    Name Description
    AddDataSerializableFactory(int, IDataSerializableFactory)

    Adds an IDataSerializableFactory.

    AddDataSerializableFactoryClass(int, string)

    Adds an IDataSerializableFactory.

    AddDataSerializableFactoryClass(int, Type)

    Adds an IDataSerializableFactory.

    AddPortableFactory(int, IPortableFactory)

    Adds an IPortableFactory.

    AddPortableFactory(int, string)

    Adds an IPortableFactory.

    AddPortableFactory(int, Type)

    Adds an IPortableFactory.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.