Share via


SaveChangeWithChangeUnitsContext Class

Represents information about a change to be saved to the item store when the change contains change units.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.SaveChangeWithChangeUnitsContext

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

Syntax

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

The SaveChangeWithChangeUnitsContext type exposes the following members.

Properties

  Name Description
Public property ChangeData Gets the item data from the source provider.
Public property ConflictingItemId Gets the item ID of the item in the destination replica that conflicts with the item to be applied when the change to be applied is the resolution of a constraint conflict.
Public property DestinationVersionSuppliedForChange Gets an ItemChange object that contains the original version that the destination provider supplied to the change applier.
Public property WinnerChange Gets the metadata of the item to be applied when the change to be applied is the resolution of a constraint conflict.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetActionForChangeUnit Gets the action to use when the specified change unit change is being saved.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetUpdatedDestinationKnowledge Gets updated knowledge and forgotten knowledge objects that represent the state of the destination knowledge after this change unit change is applied.
Public method GetUpdatedFilterForgottenKnowledge Gets the updated filter forgotten knowledge for the specified filter.
Protected method MemberwiseClone (Inherited from Object.)
Public method RecordConstraintConflictForChangeUnit Reports that a constraint conflict occurred when the destination provider tried to apply the change to the destination replica, for a change that contains change units.
Public method RecordConstraintConflictForItem(ConstraintConflictReason) Reports that a constraint conflict occurred when the destination provider tried to apply the change to the destination replica.
Public method RecordConstraintConflictForItem(SyncId, ConstraintConflictReason) Reports that a constraint conflict occurred when the destination provider tried to apply the change to the destination replica, and specifies the item ID of the destination item that is in conflict.
Public method RecordRecoverableErrorForChangeUnit Indicates that a recoverable error occurred when data for this change unit was saved to the item store.
Public method RecordRecoverableErrorForItem Indicates that a recoverable error occurred when data for this item was saved to the item store.
Public method ToString (Inherited from Object.)

Top

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