Serializer<T> Constructors
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.
Overloads
Serializer<T>(SerializerSessionPool) |
Initializes a new instance of the Serializer<T> class. |
Serializer<T>(IFieldCodec<T>, SerializerSessionPool) |
Initializes a new instance of the Serializer<T> class. |
Serializer<T>(SerializerSessionPool)
Initializes a new instance of the Serializer<T> class.
public Serializer (Orleans.Serialization.Session.SerializerSessionPool sessionPool);
new Orleans.Serialization.Serializer<'T> : Orleans.Serialization.Session.SerializerSessionPool -> Orleans.Serialization.Serializer<'T>
Public Sub New (sessionPool As SerializerSessionPool)
Parameters
- sessionPool
- SerializerSessionPool
The session pool.
Applies to
Serializer<T>(IFieldCodec<T>, SerializerSessionPool)
Initializes a new instance of the Serializer<T> class.
public Serializer (Orleans.Serialization.Codecs.IFieldCodec<T> codec, Orleans.Serialization.Session.SerializerSessionPool sessionPool);
new Orleans.Serialization.Serializer<'T> : Orleans.Serialization.Codecs.IFieldCodec<'T> * Orleans.Serialization.Session.SerializerSessionPool -> Orleans.Serialization.Serializer<'T>
Public Sub New (codec As IFieldCodec(Of T), sessionPool As SerializerSessionPool)
Parameters
- codec
- IFieldCodec<T>
The codec.
- sessionPool
- SerializerSessionPool
The session pool.