Sdílet prostřednictvím


IFeedBuilderWithXmlText::SaveConflictDataXmlText

Saves a conflict for later conflict resolution or propagation. The conflict is represented by an XML string in the FeedSync format.

HRESULT SaveConflictDataXmlText(
  ISyncChange * pChange,
  LPCWSTR wszItemText,
  ISyncKnowledge * pConflictKnowledge);

Parameters

  • pChange
    [in] The change that caused the conflict.
  • wszItemText
    [in] The item data that is represented by an XML string in the FeedSync format.
  • pConflictKnowledge
    [in] The knowledge to be learned when the conflicting change is applied. This must be logged with the conflicting change.

Return Value

  • S_OK

  • E_OUTOFMEMORY

  • E_POINTER

  • SYNC_E_FEEDSYNC_ITEM_NOT_IN_METADATA when the conflicting change cannot be found in the FeedSync feed.

  • SYNC_E_INVALID_OPERATION when metadata for the conflicting change cannot be found in the FeedSync metadata.

Remarks

This method helps a provider implement its ISynchronousNotifyingChangeApplierTarget::SaveConflict method.

See Also

Reference

IFeedBuilderWithXmlText Interface