KnowledgeFragmentBuilder 构造函数 (SyncIdFormatGroup, ReplicaKeyMap)

初始化 KnowledgeFragmentBuilder 类的一个包含指定的 ID 格式架构和副本键映射的新实例。

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

语法

声明
Public Sub New ( _
    idFormats As SyncIdFormatGroup, _
    replicaKeyMap As ReplicaKeyMap _
)
用法
Dim idFormats As SyncIdFormatGroup
Dim replicaKeyMap As ReplicaKeyMap

Dim instance As New KnowledgeFragmentBuilder(idFormats, _
    replicaKeyMap)
public KnowledgeFragmentBuilder(
    SyncIdFormatGroup idFormats,
    ReplicaKeyMap replicaKeyMap
)
public:
KnowledgeFragmentBuilder(
    SyncIdFormatGroup^ idFormats, 
    ReplicaKeyMap^ replicaKeyMap
)
new : 
        idFormats:SyncIdFormatGroup * 
        replicaKeyMap:ReplicaKeyMap -> KnowledgeFragmentBuilder
public function KnowledgeFragmentBuilder(
    idFormats : SyncIdFormatGroup, 
    replicaKeyMap : ReplicaKeyMap
)

参数

异常

异常 条件
ArgumentNullException

idFormats 或 replicaKeyMap 为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。

请参阅

参考

KnowledgeFragmentBuilder类

KnowledgeFragmentBuilder 成员

KnowledgeFragmentBuilder 重载

Microsoft.Synchronization 命名空间