共用方式為


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
)
/** @delegate */
public delegate void OnSynchronization (
    IAsyncResult ar, 
    int percentComplete
)
Not applicable.

Parameters

  • ar
    The IAsyncResult interface returned by the BeginSynchronize method.
  • percentComplete
    The value returned by the reconciler that represents the percent of replication work completed by the reconciler.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

.NET Compact Framework

Supported in: 2.0

See Also

Reference

System.Data.SqlServerCe Namespace