ExceptionCodec 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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>
例外狀況序列化選項。