ItemChange::GetLearnedKnowledgeWithPrerequisite Method
Gets the knowledge that the destination replica learns when the destination provider applies this change, based on the prerequisite knowledge that is associated with the change.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public:
SyncKnowledge^ GetLearnedKnowledgeWithPrerequisite(
SyncKnowledge^ destinationKnowledge
)
Parameters
- destinationKnowledge
- Type: Microsoft.Synchronization::SyncKnowledge
Knowledge of a change unit that is contained in this change is not added to the returned learned knowledge when destinationKnowledge contains the prerequisite knowledge for the change unit.
Return Value
Type: Microsoft.Synchronization::SyncKnowledgeThe knowledge that the destination replica learns when the destination provider applies this change, based on the prerequisite knowledge that is associated with the change.
| Exception | Condition |
|---|---|
| ArgumentNullException | A required parameter is a nullptr. |
| InvalidOperationException | The object contains data that is not valid. |
| ChangeNeedsKnowledgeException | This object does not contain prerequisite knowledge. |
Show: