SaveChangeContext::GetUpdatedDestinationKnowledge Method

Gets updated knowledge and forgotten knowledge objects that represent the state of the destination knowledge after this change is applied.

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

public:
void GetUpdatedDestinationKnowledge(
	[OutAttribute] SyncKnowledge^% knowledge, 
	[OutAttribute] ForgottenKnowledge^% forgottenKnowledge
)

Parameters

knowledge
Type: Microsoft.Synchronization::SyncKnowledge%
The updated knowledge for the destination.
forgottenKnowledge
Type: Microsoft.Synchronization::ForgottenKnowledge%
The updated forgotten knowledge for the destination.

The knowledge objects that are returned by this method should directly replace the existing knowledge objects on the destination.

Before a provider calls this method, the provider must report any recoverable errors by using RecordRecoverableErrorForItem.

This method can only be called one time per change. This method throws InvalidOperationException on any call but the first.

Show: