ChangeBatch::GetLearnedKnowledgeWithPrerequisite Method

Gets the knowledge that the destination replica learns when the destination provider applies all the changes in this change batch, based on the prerequisite knowledge of the change batch.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
SyncKnowledge^ GetLearnedKnowledgeWithPrerequisite(
	SyncKnowledge^ destinationKnowledge
)

Parameters

destinationKnowledge
Type: Microsoft.Synchronization::SyncKnowledge
A knowledge fragment is added to the returned learned knowledge only if destinationKnowledge contains the prerequisite knowledge for that fragment.

Return Value

Type: Microsoft.Synchronization::SyncKnowledge
The knowledge that the destination replica learns when the destination provider applies all the changes in this change batch, based on the prerequisite knowledge of the change batch.

ExceptionCondition
ArgumentNullException

destinationKnowledge is a nullptr.

Show: