ChangeApplicationServices::EndFullEnumerationChangeApplication Method

Ends processing of a set of changes as part of a recovery synchronization.

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

public:
void EndFullEnumerationChangeApplication(
	SyncKnowledge^ batchLearnedKnowledge, 
	ForgottenKnowledge^ batchLearnedForgottenKnowledge, 
	[OutAttribute] SyncKnowledge^% destinationKnowledge, 
	[OutAttribute] ForgottenKnowledge^% destinationForgottenKnowledge
)

Parameters

batchLearnedKnowledge
Type: Microsoft.Synchronization::SyncKnowledge
The learned knowledge of the change batch.
batchLearnedForgottenKnowledge
Type: Microsoft.Synchronization::ForgottenKnowledge
The learned forgotten knowledge of the change batch.
destinationKnowledge
Type: Microsoft.Synchronization::SyncKnowledge%
Returns the updated destination knowledge, based on the changes that were applied or skipped.
destinationForgottenKnowledge
Type: Microsoft.Synchronization::ForgottenKnowledge%
Returns the updated destination forgotten knowledge, based on the changes that were applied or skipped.

ExceptionCondition
ArgumentNullException

A required parameter is a nullptr.

SyncIdFormatMismatchException

The ID format schema of the specified knowledge object does not match the ID format schema specified when this object was initialized.

SyncInvalidOperationException

Change application was not started.

The learned knowledge of the change batch, specified by batchLearnedKnowledge, and the learned forgotten knowledge of the change batch, specified by batchLearnedForgottenKnowledge, are modified by this method to exclude any changes that were reported as skipped during change application.

The updated destination knowledge returned in destinationKnowledge and the updated destination forgotten knowledge returned in destinationForgottenKnowledge must replace the current knowledge and forgotten knowledge of the destination replica.

NoteNote

When the updated destination knowledge is calculated, any changes that the destination provider did not reported as successfully applied by calling ReportItemChangeApplied or ReportChangeUnitChangeApplied are treated as having failed.

Show: