SimpleSyncProvider.ItemConstraint Event

Occurs when Sync Framework detects that an item being processed is involved in a constraint conflict.

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

'Declaration
Public Event ItemConstraint As EventHandler(Of SimpleSyncItemConstraintEventArgs)
'Usage
Dim instance As SimpleSyncProvider
Dim handler As EventHandler(Of SimpleSyncItemConstraintEventArgs)

AddHandler instance.ItemConstraint, handler

This event 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: