Share via


IFeedBuilder::SaveChange

Saves an item change to the feed.

Syntax

HRESULT SaveChange(
  SYNC_SAVE_ACTION ssa,
  ISyncChange * pChange,
  ISaveChangeContext * pSaveChangeContext,
  IFeedItemDataMerger * pItemDataMerger);

Parameters

  • ssa
    [in] The action to be performed for the change.

  • pChange
    [in] The item change to be saved.

  • pSaveChangeContext
    [in] Context information about the change to save.

  • pItemDataMerger
    [in] An object that can be called by Sync Framework to merge changes. Can be NULL if no merging is required. It cannot be NULL if conflicts are resolved with the SRA_MERGE resolve action. 

    If the value is not NULL, Sync Framework will call IFeedItemDataMerger::MergeFeedItemData to merge FeedSync item data for any conflicts that are resolved with the SRA_MERGE action.

Return Value

  • S_OK

  • E_INVALIDARG

  • E_OUTOFMEMORY

Remarks

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

See Also

Reference

IFeedBuilder Interface