Sdílet prostřednictvím


SyncCallbacks Members

Represents application callbacks that are used to dispatch a synchronization event.

The following tables list the members exposed by the SyncCallbacks type.

Public Constructors

  Name Description
Public method SyncCallbacks Initializes a new instance of the SyncCallbacks class.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method OnFullEnumerationNeeded Dispatches the FullEnumerationNeeded event. This event occurs when the forgotten knowledge from the source provider is not contained in the current knowledge of the destination provider.
Public method OnItemChanging Dispatches the ItemChanging event. This event occurs before a change is applied.
Public method OnItemConflicting Dispatches the ItemConflicting event. This event occurs when a conflict is detected when the conflict resolution policy is set to ApplicationDefined.
Public method OnItemConstraint Dispatches the ItemConstraint event. This event occurs when a constraint conflict is reported, for collision conflicts when the collision conflict resolution policy is set to ApplicationDefined, and for all non-collision constraint conflicts.
Public method OnProgressChanged Dispatches the ProgressChanged event. This event occurs periodically during the synchronization session to report progress.
Public method OnRecoverableError Dispatches the ItemChangeSkipped event. This event occurs when a synchronization provider sets a recoverable error during loading or saving of an item.
Public method Bb904609.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)

Top

Public Events

  Name Description
Public event FullEnumerationNeeded Occurs when the forgotten knowledge from the source provider is not contained in the current knowledge of the destination provider.
Public event ItemChangeSkipped Occurs when a synchronization provider sets a recoverable error while an item is being loaded or saved.
Public event ItemChanging Occurs before a change is applied.
Public event ItemConflicting Occurs when a conflict is detected when the conflict resolution policy is set to ApplicationDefined.
Public event ItemConstraint Occurs when a constraint conflict is reported, for collision conflicts when the collision conflict resolution policy is set to ApplicationDefined, and for all non-collision constraint conflicts.
Public event ProgressChanged Occurs periodically during the synchronization session to report progress.

Top

See Also

Reference

SyncCallbacks Class
Microsoft.Synchronization Namespace