Edit

Share via


SerializationChoice(Boolean, IStorageDeserializer, IStorageSerializer) Constructor

Definition

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.

Remarks

Note that only one, either deserializer or serializer can be defined, not both.

Applies to