Udostępnij za pośrednictwem


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.

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

Syntax

'Declaration
Public Function GetLearnedKnowledgeWithPrerequisite ( _
    destinationKnowledge As SyncKnowledge _
) As SyncKnowledge
'Usage
Dim instance As ItemChange
Dim destinationKnowledge As SyncKnowledge
Dim returnValue As SyncKnowledge

returnValue = instance.GetLearnedKnowledgeWithPrerequisite(destinationKnowledge)
public SyncKnowledge GetLearnedKnowledgeWithPrerequisite (
    SyncKnowledge destinationKnowledge
)
public:
SyncKnowledge^ GetLearnedKnowledgeWithPrerequisite (
    SyncKnowledge^ destinationKnowledge
)
public SyncKnowledge GetLearnedKnowledgeWithPrerequisite (
    SyncKnowledge destinationKnowledge
)
public function GetLearnedKnowledgeWithPrerequisite (
    destinationKnowledge : SyncKnowledge
) : SyncKnowledge

Parameters

  • destinationKnowledge
    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

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.

Exceptions

Exception type Condition

ArgumentNullException

A required parameter is a null reference (Nothing in Visual Basic).

InvalidOperationException

The object contains data that is not valid.

ChangeNeedsKnowledgeException

This object does not contain prerequisite knowledge.

See Also

Reference

ItemChange Class
ItemChange Members
Microsoft.Synchronization Namespace