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)

Syntax

'Declaration
Public Sub ReportRecoverableErrorOnItemChange ( _
    itemChange As ItemChange, _
    errorData As RecoverableErrorData _
)
'Usage
Dim instance As ChangeApplicationServices
Dim itemChange As ItemChange
Dim errorData As RecoverableErrorData

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

Parameters

  • itemChange
    The item change that failed to apply to the destination replica.
  • errorData
    Additional information about the error.

Exceptions

Exception type Condition

ArgumentNullException

A required parameter is a null reference (Nothing in Visual Basic).

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.

Remarks

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

See Also

Reference

ChangeApplicationServices Class
ChangeApplicationServices Members
Microsoft.Synchronization Namespace