ChangeApplicationServices::ReportRecoverableErrorOnItemChange Method

Notifies the change application service that a recoverable error occurred when the destination provider tried to apply the item change.

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

public:
void ReportRecoverableErrorOnItemChange(
	ItemChange^ itemChange, 
	RecoverableErrorData^ errorData
)

Parameters

itemChange
Type: Microsoft.Synchronization::ItemChange
The item change that failed to apply to the destination replica.
errorData
Type: Microsoft.Synchronization::RecoverableErrorData
Additional information about the error.

ExceptionCondition
ArgumentNullException

A required parameter is a nullptr.

ChangeNeedsKnowledgeException

itemChange does not contain made-with knowledge.

SyncIdFormatMismatchException

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

SyncInvalidOperationException

Change application was not started, or itemChange has already been reported as successfully applied or conflicting, or any change unit contained in itemChange has been reported as successfully applied or conflicting.

When this method is called and itemChange contains change units, all change units are marked as having failed to apply.

Show: