CopyContext(CodecProvider, Action<CopyContext>) 构造函数

定义

初始化 CopyContext 类的新实例。

public CopyContext(Orleans.Serialization.Serializers.CodecProvider codecProvider, Action<Orleans.Serialization.Cloning.CopyContext> onDisposed);
new Orleans.Serialization.Cloning.CopyContext : Orleans.Serialization.Serializers.CodecProvider * Action<Orleans.Serialization.Cloning.CopyContext> -> Orleans.Serialization.Cloning.CopyContext
Public Sub New (codecProvider As CodecProvider, onDisposed As Action(Of CopyContext))

参数

codecProvider
CodecProvider

编解码器提供程序。

onDisposed
Action<CopyContext>

释放此上下文时要调用的操作。

适用于