SyncKnowledge::MapRemoteKnowledgeToLocal Method

Converts a knowledge object from another replica into one that is compatible with the replica that owns this knowledge.

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

public:
SyncKnowledge^ MapRemoteKnowledgeToLocal(
	SyncKnowledge^ remoteKnowledge
)

Parameters

remoteKnowledge
Type: Microsoft.Synchronization::SyncKnowledge
The knowledge object to convert.

Return Value

Type: Microsoft.Synchronization::SyncKnowledge
The knowledge object that has been converted for use by the replica that owns this knowledge.

ExceptionCondition
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: