Partager via


ExceptionCodec Constructeur

Définition

Initialise une nouvelle instance de la classe ExceptionCodec.

public ExceptionCodec (Orleans.Serialization.TypeSystem.TypeConverter typeConverter, Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.Dictionary<object,object>> dictionaryCodec, Orleans.Serialization.Cloning.IDeepCopier<System.Collections.Generic.Dictionary<object,object>> dictionaryCopier, Orleans.Serialization.Cloning.IDeepCopier<Exception> exceptionCopier, Microsoft.Extensions.Options.IOptions<Orleans.Serialization.ExceptionSerializationOptions> exceptionSerializationOptions);
new Orleans.Serialization.ExceptionCodec : Orleans.Serialization.TypeSystem.TypeConverter * Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.Dictionary<obj, obj>> * Orleans.Serialization.Cloning.IDeepCopier<System.Collections.Generic.Dictionary<obj, obj>> * Orleans.Serialization.Cloning.IDeepCopier<Exception> * Microsoft.Extensions.Options.IOptions<Orleans.Serialization.ExceptionSerializationOptions> -> Orleans.Serialization.ExceptionCodec
Public Sub New (typeConverter As TypeConverter, dictionaryCodec As IFieldCodec(Of Dictionary(Of Object, Object)), dictionaryCopier As IDeepCopier(Of Dictionary(Of Object, Object)), exceptionCopier As IDeepCopier(Of Exception), exceptionSerializationOptions As IOptions(Of ExceptionSerializationOptions))

Paramètres

typeConverter
TypeConverter

Convertisseur de type.

dictionaryCodec
IFieldCodec<Dictionary<Object,Object>>

Codec du dictionnaire.

dictionaryCopier
IDeepCopier<Dictionary<Object,Object>>

Copieur de dictionnaire.

exceptionCopier
IDeepCopier<Exception>

Copieur d’exceptions.

exceptionSerializationOptions
IOptions<ExceptionSerializationOptions>

Options de sérialisation des exceptions.

S’applique à