ExceptionCodec 构造函数

定义

初始化 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))

参数

typeConverter
TypeConverter

类型转换器。

dictionaryCodec
IFieldCodec<Dictionary<Object,Object>>

字典编解码器。

dictionaryCopier
IDeepCopier<Dictionary<Object,Object>>

字典复制器。

exceptionCopier
IDeepCopier<Exception>

异常复制器。

exceptionSerializationOptions
IOptions<ExceptionSerializationOptions>

异常序列化选项。

适用于