ChangeApplicationContext Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.ChangeApplicationContext

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

Syntax

'Declaration
Public Class ChangeApplicationContext
'Usage
Dim instance As ChangeApplicationContext
public class ChangeApplicationContext
public ref class ChangeApplicationContext
type ChangeApplicationContext =  class end
public class ChangeApplicationContext

The ChangeApplicationContext type exposes the following members.

Properties

  Name Description
Public property Change Gets the metadata for the change to be applied or the conflict to be saved.
Public property ChangeApplicationAction Gets the action a destination provider must take to apply a change.
Public property ChangeData Gets the data for the change to be applied or the conflict to be saved.
Public property ConflictKnowledge Gets the knowledge to be saved when this change is a conflict that must be saved.
Public property ItemChangeSaveAction Gets the action a destination provider must take to save a change.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChangeUnitChangeSaveAction Gets the action a destination provider must take to save a change unit.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetConflictWinnerInformation Sets the conflict winner information when this change is a conflict that requires more information.
Public method ToString (Inherited from Object.)

Top

Remarks

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.

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.

See Also

Reference

Microsoft.Synchronization Namespace