ClientSyncProvider.EndTransaction Method

When overridden in a derived class, called by the SyncAgent to end a transaction. This allows the agent to commit a set of changes as an atomic unit.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)


Public MustOverride Sub EndTransaction ( _
    commit As Boolean, _
    syncSession As SyncSession _
Dim instance As ClientSyncProvider
Dim commit As Boolean
Dim syncSession As SyncSession

instance.EndTransaction(commit, syncSession)
public abstract void EndTransaction(
    bool commit,
    SyncSession syncSession
virtual void EndTransaction(
    bool commit, 
    SyncSession^ syncSession
) abstract
abstract EndTransaction : 
        commit:bool * 
        syncSession:SyncSession -> unit 
public abstract function EndTransaction(
    commit : boolean, 
    syncSession : SyncSession


  • commit
    Type: System.Boolean
    true to commit the transaction; false to roll back the transaction.

See Also


ClientSyncProvider Class

Microsoft.Synchronization.Data Namespace