Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
UL Ext:使用当前 SyncParms 异步启动同步。
Public Function BeginSynchronize( ByVal control As Control, ByVal dlg As ULSyncProgressedDlg, ByVal state As Object ) As IAsyncResult
public IAsyncResult BeginSynchronize( Control control, ULSyncProgressedDlg dlg, object state )
control 同步线程调用 ULSyncProgressedDlg 调用时所要使用的 System.Windows.Forms.Control 对象。
dlg 将与同步进度更新一起被定期调用的 ULSyncProgressedDlg 方法。
state 可以使用 IAsyncResult.AsyncState 以 ULSyncProgressedDlg 方法对此用户上下文进行访问。
IAsyncResult 对象可用于确定同步是已完成,还是一直阻塞到同步已完成时为止。
ULException 类 发生 SQL 错误。
该方法将创建新的线程来执行同步,然后立即返回,从而将所提供的 ULSyncProgressedDlg 方法与同步过程更新一起定期调用。调用 EndSynchronize 以阻塞,直到同步完成。