Udostępnij za pośrednictwem


IChangeApplicationServices::ReportRecoverableErrorOnItemChange

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

HRESULT ReportRecoverableErrorOnItemChange(
  ISyncChange * pChange,
  HRESULT hrErrorCode,
  IRecoverableErrorData * pErrorData);

Parameters

  • pChange
    [in] The item change that failed to apply to the destination replica.
  • hrErrorCode
    [in] The error code that gives the reason the item 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 pChange 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 pChange has already been reported as successfully applied or conflicting, or when any change unit contained in pChange has been reported as successfully applied.

Remarks

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

See Also

Reference

IChangeApplicationServices Interface