ISyncSession::Cancel

Cancels the current synchronization session.


HRESULT Cancel();

  • S_OK

  • E_ABORT when this object has been destroyed.

  • SYNC_E_INTERNAL_ERROR

Cancel stops the synchronization session from performing any more work. It does not roll back any changes that have already been made.

After Cancel is called, all Sync Framework methods return E_ABORT.

Show: