ChangeBatchBase.LearnedKnowledge Property
Gets the knowledge that the destination replica learns when the destination provider applies all the changes in this change batch.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public ReadOnly Property LearnedKnowledge As SyncKnowledge
Get
'Usage
Dim instance As ChangeBatchBase
Dim value As SyncKnowledge
value = instance.LearnedKnowledge
public SyncKnowledge LearnedKnowledge { get; }
public:
property SyncKnowledge^ LearnedKnowledge {
SyncKnowledge^ get ();
}
member LearnedKnowledge : SyncKnowledge
function get LearnedKnowledge () : SyncKnowledge
Property Value
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge that the destination replica learns when the destination provider applies all the changes in this change batch.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | This ChangeBatchBase has been disposed. |
ChangeBatchNeedsKnowledgeException | A group was begun but not ended on this ChangeBatchBase. |
Remarks
This knowledge is valid only when the current knowledge of the destination replica contains the prerequisite knowledge of the change batch. The prerequisite knowledge can be obtained by using PrerequisiteKnowledge.
LearnedKnowledge can be used by a provider that uses a custom change applier.