IChangeApplicationContext Interface

Represents information returned by the change application service about a change to be applied.

Syntax

interface IChangeApplicationContext : IUnknown

Members

IChangeApplicationContext method

Description

IChangeApplicationContext::GetChangeApplicationAction

Gets the action a destination provider must take to apply a change.

IChangeApplicationContext::GetSaveChangeAction

Gets the action a destination provider must take to save a change.

IChangeApplicationContext::GetSaveChangeWithChangeUnitsAction

Gets the action a destination provider must take to save a change unit.

IChangeApplicationContext::GetChange

Gets the metadata for the change to be applied or the conflict to be saved.

IChangeApplicationContext::GetChangeData

Gets the data for the change to be applied or the conflict to be saved.

IChangeApplicationContext::GetConflictKnowledge

Gets the knowledge to be saved when this change is a conflict that must be saved.

IChangeApplicationContext::SetConflictWinnerInfo

Sets the conflict winner information when this change is a conflict that requires more information.

Remarks

The IChangeApplicationContext interface is part of the change application service of Sync Framework, which is used when a provider requires greater flexibility than that allowed by the standard change applier provided by Sync Framework.

To apply the change that is represented by this object, perform the following steps:

  1. Call GetChangeApplicationAction.

  2. Take the specified action.

  3. Repeat steps 1 and 2 until GetChangeApplicationAction returns CAA_FINISHED.

Requirements

Header: Synchronization.h

See Also

Concepts

Sync Framework Core Components