Version

CancelUpdate Method

Cancels any currently executing asynchronous operation.
Syntax
'Declaration
 
Public Sub CancelUpdate() 
public void CancelUpdate()
Remarks

Calling this method causes an AsyncOperationCanceledException to be thrown, which is caught and propagated to listeners via the DataSourceError event.

Canceling an asynchronous update does not reverse the change to the data source; upon the next operation that triggers an update, the change for which the update was canceled is applied as well.

Operations for which an update was canceled are not recorded as PendingChanges.

In the case where the UpdateAsync method is canceled, any remaining uncommitted pending changes are discarded.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also