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)

Syntax

'Declaration
Public MustOverride Sub EndTransaction ( _
    commit As Boolean, _
    syncSession As SyncSession _
)
public abstract void EndTransaction (
    bool commit,
    SyncSession syncSession
)
public:
virtual void EndTransaction (
    bool commit, 
    SyncSession^ syncSession
) abstract
public abstract void EndTransaction (
    boolean commit, 
    SyncSession syncSession
)
public abstract function EndTransaction (
    commit : boolean, 
    syncSession : SyncSession
)

Parameters

  • commit
    true to commit the transaction; false to roll back the transaction.
  • syncSession
    A SyncSession object that contains metadata about the current synchronization session.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

ClientSyncProvider Class
ClientSyncProvider Members
Microsoft.Synchronization.Data Namespace