SaveChangeContext Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.SaveChangeContext

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

Syntax

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

The SaveChangeContext 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 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 is applied.
Public method GetUpdatedFilterForgottenKnowledge Gets the updated filter forgotten knowledge for the specified filter.
Protected method MemberwiseClone (Inherited from Object.)
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 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