locked
Runtime Exception SaveItemChange RRS feed

  • Question

  • Hello!

    My "SaveItemChange" method is correctly called on destination provider when I perform upload only sync, In case of exception [like file in use] in this method I would like to remove the SyncID from source metadata store, so the same file can tried again for sync in next run.

    Is this possible, can I do this using some another way?

    Thanks
    Ajay Sawant

    • Moved by Max Wang_1983 Thursday, April 21, 2011 12:41 AM forum consolidation (From:SyncFx - Technical Discussion [ReadOnly])
    Wednesday, September 9, 2009 5:59 PM

Answers

  • Yes, just call RecordRecoverableErrorForItem on the SaveChangeContext object - this item will be skipped for this sync session and will be re-tried next time.
    • Marked as answer by Ajay.Sawant Thursday, September 10, 2009 4:57 AM
    Thursday, September 10, 2009 4:47 AM
    Moderator

All replies

  • Yes, just call RecordRecoverableErrorForItem on the SaveChangeContext object - this item will be skipped for this sync session and will be re-tried next time.
    • Marked as answer by Ajay.Sawant Thursday, September 10, 2009 4:57 AM
    Thursday, September 10, 2009 4:47 AM
    Moderator
  • Thank you very much !!! Now it works.
    Thursday, September 10, 2009 4:58 AM