Partager via


ValueSerializer<T> Constructeur

Définition

Initialise une nouvelle instance de la classe ValueSerializer<T>.

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)

Paramètres

codecProvider
IValueSerializerProvider

Fournisseur de codecs.

sessionPool
SerializerSessionPool

Pool de sessions.

S’applique à