Share via


OnSynchronization 委托

一种用户定义的委托,使用调解程序工作期间报告的正在执行的同步事件。

命名空间:  System.Data.SqlServerCe
程序集:  System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)

语法

声明
Public Delegate Sub OnSynchronization ( _
    ar As IAsyncResult, _
    percentComplete As Integer _
)
用法
Dim instance As New OnSynchronization(AddressOf HandlerMethod)
public delegate void OnSynchronization(
    IAsyncResult ar,
    int percentComplete
)
public delegate void OnSynchronization(
    IAsyncResult^ ar, 
    int percentComplete
)
type OnSynchronization = 
    delegate of 
        ar:IAsyncResult * 
        percentComplete:int -> unit
JScript 支持使用委托,但不支持声明新委托。

参数

  • percentComplete
    类型:System.Int32
    调解程序返回的值,表示调解程序完成的复制工作百分比。

请参阅

参考

System.Data.SqlServerCe 命名空间