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.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
localReplicaId As SyncId _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim localReplicaId As SyncId
Dim instance As New KnowledgeFragmentBuilder(idFormats, _
localReplicaId)
public KnowledgeFragmentBuilder(
SyncIdFormatGroup idFormats,
SyncId localReplicaId
)
public:
KnowledgeFragmentBuilder(
SyncIdFormatGroup^ idFormats,
SyncId^ localReplicaId
)
new :
idFormats:SyncIdFormatGroup *
localReplicaId:SyncId -> KnowledgeFragmentBuilder
public function KnowledgeFragmentBuilder(
idFormats : SyncIdFormatGroup,
localReplicaId : SyncId
)
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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | idFormats or localReplicaId is a null reference (Nothing in Visual Basic). |
Remarks
When this version of the constructor is used, a ReplicaKeyMap object is created and initialized to contain only localReplicaId.
See Also
Reference
KnowledgeFragmentBuilder Class