UserLoadChangeContext::RecordRecoverableErrorForChangeUnit Method

Indicates that a recoverable error occurred when data for the specified change unit was loaded from the item store.

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

public:
virtual void RecordRecoverableErrorForChangeUnit(
	ChangeUnitChange^ changeUnitChange, 
	RecoverableErrorData^ errorData
) override

Parameters

changeUnitChange
Type: Microsoft.Synchronization::ChangeUnitChange
The change unit change that caused the error.
errorData
Type: Microsoft.Synchronization::RecoverableErrorData
Additional information about the error.

ExceptionCondition
ArgumentNullException

changeUnitChange or errorData is a nullptr.

When this method is called, an ItemChangeUnitOverride object is added to the learned knowledge, and the change unit change will not be enumerated again for the duration of the synchronization session.

Show: