Share via


LoadChangeContext.RecordRecoverableErrorForChangeUnit Method

When overridden in a derived class, 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)

Syntax

'Declaration
Public MustOverride Sub RecordRecoverableErrorForChangeUnit ( _
    changeUnitChange As ChangeUnitChange, _
    errorData As RecoverableErrorData _
)
'Usage
Dim instance As LoadChangeContext
Dim changeUnitChange As ChangeUnitChange
Dim errorData As RecoverableErrorData

instance.RecordRecoverableErrorForChangeUnit(changeUnitChange, errorData)
public abstract void RecordRecoverableErrorForChangeUnit (
    ChangeUnitChange changeUnitChange,
    RecoverableErrorData errorData
)
public:
virtual void RecordRecoverableErrorForChangeUnit (
    ChangeUnitChange^ changeUnitChange, 
    RecoverableErrorData^ errorData
) abstract
public abstract void RecordRecoverableErrorForChangeUnit (
    ChangeUnitChange changeUnitChange, 
    RecoverableErrorData errorData
)
public abstract function RecordRecoverableErrorForChangeUnit (
    changeUnitChange : ChangeUnitChange, 
    errorData : RecoverableErrorData
)

Parameters

  • changeUnitChange
    The change unit change that caused the error.
  • errorData
    Additional information about the error.

Remarks

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.

See Also

Reference

LoadChangeContext Class
LoadChangeContext Members
Microsoft.Synchronization Namespace