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
)
参数
- idFormats
类型:Microsoft.Synchronization. . :: . .SyncIdFormatGroup
提供程序的 ID 格式架构。
- replicaKeyMap
类型:Microsoft.Synchronization. . :: . .ReplicaKeyMap
用于生成该知识的副本键映射。
异常
异常 | 条件 |
---|---|
ArgumentNullException | idFormats 或 replicaKeyMap 为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。 |