SimpleSyncProvider::OnItemConstraint Method

When overridden in a derived class, raises the ItemConstraint event.

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

public:
virtual void OnItemConstraint(
	SimpleSyncItemConstraintEventArgs^ args
)

This method is used for constraint conflicts, which occur when an item cannot be saved because it conflicts with another item in the destination store, such as when the source provider sends a file that has the same name and location as a file that already exists in the destination replica. For more information, see Handling Conflicts for Simple Providers.

Show: