SqlCeReplication.BeginSynchronize Method (AsyncCallback, Object)

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

Starts an asynchronous data synchronization operation. When synchronization ends, the AsyncCallback delegates are called. During synchronization, no status reporting is performed.

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

public IAsyncResult BeginSynchronize(
	AsyncCallback onSyncCompletion,
	Object state


Type: System.AsyncCallback
The IAsyncResult delegates that are implemented by the caller and called at the end of synchronization.
Type: System.Object
A user-defined object that is returned by the AsyncState property.

Return Value

Type: System.IAsyncResult
The IAsyncResult interface for the asynchronous operation that has been started by calling this function. You can use this interface for testing for completion, or waiting until synchronization ends.