KnowledgeFragmentBuilder Constructor (SyncIdFormatGroup, SyncId)
Initializes a new instance of the KnowledgeFragmentBuilder class that contains the specified ID format schema, and a replica key map that contains only the specified local replica ID.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public:
KnowledgeFragmentBuilder(
SyncIdFormatGroup^ idFormats,
SyncId^ localReplicaId
)
Parameters
- idFormats
- Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
- localReplicaId
- Type: Microsoft.Synchronization::SyncId
The replica key map contained in this object contains only this replica ID.
| Exception | Condition |
|---|---|
| ArgumentNullException | idFormats or localReplicaId is a nullptr. |
When this version of the constructor is used, a ReplicaKeyMap object is created and initialized to contain only localReplicaId.
Show: