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.
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::SyncKnowledgeThe 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.
| Exception | Condition |
|---|---|
| ArgumentNullException | destinationKnowledge is a nullptr. |
Show: