Aracılığıyla paylaş


OnSynchronization Delegate

A user-defined delegate that consumes the ongoing synchronization events reported during the reconciler work.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Delegate Sub OnSynchronization ( _
    ar As IAsyncResult, _
    percentComplete As Integer _
)
'Usage
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 supports the use of delegates, but not the declaration of new ones.

Parameters

  • percentComplete
    Type: System.Int32
    The value returned by the reconciler that represents the percent of replication work completed by the reconciler.

See Also

Reference

System.Data.SqlServerCe Namespace