ReplicaKeyMap 构造函数 (SerializationInfo, StreamingContext)

使用序列化数据初始化 ReplicaKeyMap 类的一个新实例。

命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)

语法

声明
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
用法
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New ReplicaKeyMap(info, context)
protected ReplicaKeyMap (
    SerializationInfo info,
    StreamingContext context
)
protected:
ReplicaKeyMap (
    SerializationInfo^ info, 
    StreamingContext context
)
protected ReplicaKeyMap (
    SerializationInfo info, 
    StreamingContext context
)
protected function ReplicaKeyMap (
    info : SerializationInfo, 
    context : StreamingContext
)

参数

  • context
    包含有关源或目标的上下文信息的 StreamingContext 对象。

备注

请参阅

参考

ReplicaKeyMap 类
ReplicaKeyMap 成员
Microsoft.Synchronization 命名空间