Edytuj

Udostępnij za pośrednictwem


ExceptionCodec Constructor

Definition

Initializes a new instance of the ExceptionCodec class.

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))

Parameters

typeConverter
TypeConverter

The type converter.

dictionaryCodec
IFieldCodec<Dictionary<Object,Object>>

The dictionary codec.

dictionaryCopier
IDeepCopier<Dictionary<Object,Object>>

The dictionary copier.

exceptionCopier
IDeepCopier<Exception>

The exception copier.

exceptionSerializationOptions
IOptions<ExceptionSerializationOptions>

The exception serialization options.

Applies to