IChangeApplicationServices::ReportRecoverableErrorOnChangeUnitChange

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

HRESULT ReportRecoverableErrorOnChangeUnitChange(
  ISyncChangeUnit * pChangeUnitChange,
  HRESULT hrErrorCode,
  IRecoverableErrorData * pErrorData);

Parameters

  • pChangeUnitChange
    [in] The change unit change that was successfully applied to the destination replica.
  • hrErrorCode
    [in] The error code that gives the reason the change unit change did not apply.
  • pErrorData
    [in, unique] Additional information about the error.

Return Value

  • S_OK.

  • E_OUTOFMEMORY.

  • E_POINTER.

  • SYNC_E_CHANGE_NEEDS_KNOWLEDGE when pChangeUnitChange does not contain made-with knowledge.

  • SYNC_E_ID_FORMAT_MISMATCH when the format of a specified ID does not match the ID format schema specified when this object was initialized.

  • SYNC_E_INVALID_OPERATION when change application has not been started for a change batch, or when pChangeUnitChange or the parent change has already been reported as successfully applied or conflicting.

See Also

Reference

IChangeApplicationServices Interface