Sdílet prostřednictvím


ISaveChangeContext::SetRecoverableErrorOnChange

Indicates that a recoverable error occurred when data for this item was saved to the item store.

HRESULT SetRecoverableErrorOnChange(
  HRESULT hrError,
  IRecoverableErrorData * pErrorData);

Parameters

  • hrError
    [in] The error code that is associated with the error that prevented the item data from being applied.
  • pErrorData
    [in, unique] Additional information about the error.

Return Value

  • S_OK

  • E_INVALIDARG

  • SYNC_E_INTERNAL_ERROR

Remarks

When this method is called, an ISingleItemException object is added to the learned knowledge; and the item change will not be enumerated again for the duration of the synchronization session.

This method updates the knowledge for the synchronization scope. After this method is called, call ISaveChangeContext::GetKnowledgeForScope to retrieve the updated knowledge.

See Also

Reference

ISaveChangeContext Interface