ValueSerializer<T> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ValueSerializer<T> class.
public ValueSerializer (Orleans.Serialization.Serializers.IValueSerializerProvider codecProvider, Orleans.Serialization.Session.SerializerSessionPool sessionPool);
new Orleans.Serialization.ValueSerializer<'T (requires 'T : struct)> : Orleans.Serialization.Serializers.IValueSerializerProvider * Orleans.Serialization.Session.SerializerSessionPool -> Orleans.Serialization.ValueSerializer<'T (requires 'T : struct)>
Public Sub New (codecProvider As IValueSerializerProvider, sessionPool As SerializerSessionPool)
Parameters
- codecProvider
- IValueSerializerProvider
The codec provider.
- sessionPool
- SerializerSessionPool
The session pool.