Share via


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
)
public KnowledgeFragmentBuilder (
    SyncIdFormatGroup idFormats, 
    SyncId localReplicaId
)
public function KnowledgeFragmentBuilder (
    idFormats : SyncIdFormatGroup, 
    localReplicaId : SyncId
)

Parameters

  • idFormats
    The ID format schema of the provider.
  • localReplicaId
    The replica key map contained in this object contains only this replica ID.

Exceptions

Exception type Condition

ArgumentNullException

A required parameter 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
KnowledgeFragmentBuilder Members
Microsoft.Synchronization Namespace