SerializationChoice(Boolean, IStorageDeserializer, IStorageSerializer) 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.
Implements "a tuple" that encodes the desired (de)serialization choice and streaming preference.
public SerializationChoice (bool preferStreaming, Orleans.Storage.IStorageDeserializer deserializer, Orleans.Storage.IStorageSerializer serializer);
new Orleans.Storage.SerializationChoice : bool * Orleans.Storage.IStorageDeserializer * Orleans.Storage.IStorageSerializer -> Orleans.Storage.SerializationChoice
Public Sub New (preferStreaming As Boolean, deserializer As IStorageDeserializer, serializer As IStorageSerializer)
Parameters
- preferStreaming
- Boolean
Is streaming to be preferred.
- deserializer
- IStorageDeserializer
The IStorageDeserializer used.
- serializer
- IStorageSerializer
IStorageSerializer used.
Remarks
Note that only one, either deserializer
or serializer
can be defined, not both.