NamedMapTKey, TValue Constructor (String, CustomSerializerTKey, CustomSerializerTValue)

ScaleOut Software NamedCache API
Creates a new instance of the NamedMapTKey, TValue class corresponding to the given name and assigns custom key and value serializers to it.

Namespace:  Soss.Client.Concurrent
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax

public NamedMap(
	string mapName,
	CustomSerializer<TKey> keySerializer,
	CustomSerializer<TValue> valueSerializer
)

Parameters

mapName
Type: SystemString
The name of the map.
keySerializer
Type: Soss.Client.ConcurrentCustomSerializerTKey
Key serializer.
valueSerializer
Type: Soss.Client.ConcurrentCustomSerializerTValue
Value serializer.
Exceptions

ExceptionCondition
ArgumentNullExceptionif mapName is null.
See Also

Reference