SaveChangeWithChangeUnitsContext::RecordConstraintConflictForItem Method (ConstraintConflictReason)
Reports that a constraint conflict occurred when the destination provider tried to apply the change to the destination replica.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
| Exception | Condition |
|---|---|
| ArgumentException | reason is Collision. In this case, a conflicting item ID must be specified by using [M:Microsoft.Synchronization.SaveChangeWithChangeUnitsContext.RecordConstraintConflictForItem(Microsoft.Synchronization.SyncId,Microsoft.Synchronization.ConstraintConflictReason).] |
| SyncInvalidOperationException | A constraint conflict or recoverable error has already been set on this object. |
Show: