ChangeApplicationContext Class

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

System.Object
  Microsoft.Synchronization.ChangeApplicationContext

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

public class ChangeApplicationContext

The ChangeApplicationContext type exposes the following members.

  NameDescription
Public propertyChangeGets the metadata for the change to be applied or the conflict to be saved.
Public propertyChangeApplicationActionGets the action a destination provider must take to apply a change.
Public propertyChangeDataGets the data for the change to be applied or the conflict to be saved.
Public propertyConflictKnowledgeGets the knowledge to be saved when this change is a conflict that must be saved.
Public propertyItemChangeSaveActionGets the action a destination provider must take to save a change.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetChangeUnitChangeSaveActionGets the action a destination provider must take to save a change unit.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetConflictWinnerInformationSets the conflict winner information when this change is a conflict that requires more information.
Public methodToString (Inherited from Object.)
Top

The ChangeApplicationContext class 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. Get the ChangeApplicationAction property.

  2. Take the specified action.

  3. Repeat steps 1 and 2 until ChangeApplicationAction is set to Finished.

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