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)

public:
KnowledgeBuilder(
	unsigned int expectedKnowledgeVersion, 
	SyncIdFormatGroup^ idFormats
)

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.

ExceptionCondition
ArgumentNullException

idFormats is a nullptr.

InvalidKnowledgeVersionException

expectedKnowledgeVersion is not supported.

Show: