KnowledgeBuilder Constructor
Initializes a new instance of the KnowledgeBuilder class that contains the specified knowledge version and the ID format schema of the provider.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub New ( _
expectedKnowledgeVersion As UInteger, _
idFormats As SyncIdFormatGroup _
)
'Usage
Dim expectedKnowledgeVersion As UInteger
Dim idFormats As SyncIdFormatGroup
Dim instance As New KnowledgeBuilder(expectedKnowledgeVersion, _
idFormats)
public KnowledgeBuilder(
uint expectedKnowledgeVersion,
SyncIdFormatGroup idFormats
)
public:
KnowledgeBuilder(
unsigned int expectedKnowledgeVersion,
SyncIdFormatGroup^ idFormats
)
new :
expectedKnowledgeVersion:uint32 *
idFormats:SyncIdFormatGroup -> KnowledgeBuilder
public function KnowledgeBuilder(
expectedKnowledgeVersion : uint,
idFormats : SyncIdFormatGroup
)
Parameters
- expectedKnowledgeVersion
Type: System.UInt32
The version of the knowledge to be built.
- idFormats
Type: Microsoft.Synchronization.SyncIdFormatGroup
The ID format schema of the provider.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | idFormats is a null reference (Nothing in Visual Basic). |
InvalidKnowledgeVersionException | expectedKnowledgeVersion is not supported. |