SyncKnowledge::MapRemoteKnowledgeToLocal Method
Converts a knowledge object from another replica into one that is compatible with the replica that owns this knowledge.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Parameters
- remoteKnowledge
- Type: Microsoft.Synchronization::SyncKnowledge
The knowledge object to convert.
Return Value
Type: Microsoft.Synchronization::SyncKnowledgeThe knowledge object that has been converted for use by the replica that owns this knowledge.
| Exception | Condition |
|---|---|
| InvalidOperationException | This SyncKnowledge object is not initialized. |
| ArgumentNullException | remoteKnowledge is a nullptr. |
| ArgumentOutOfRangeException | remoteKnowledge is uninitialized. |
| InvalidKnowledgeVersionException | remoteKnowledge is in a version that is less than the value of MinimumCompatibilityLevel. |
A SyncKnowledge object that is received from a remote provider must be converted by using MapRemoteKnowledgeToLocal before it can be used for various operations, such as change enumeration.
Show: