Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Reports that a constraint conflict occurred when the destination provider tried to apply the change to the destination replica.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
Public Sub RecordConstraintConflictForItem ( _
reason As ConstraintConflictReason _
)
'Usage
Dim instance As SaveChangeWithChangeUnitsContext
Dim reason As ConstraintConflictReason
instance.RecordConstraintConflictForItem(reason)
public void RecordConstraintConflictForItem (
ConstraintConflictReason reason
)
public:
void RecordConstraintConflictForItem (
ConstraintConflictReason reason
)
public void RecordConstraintConflictForItem (
ConstraintConflictReason reason
)
public function RecordConstraintConflictForItem (
reason : ConstraintConflictReason
)
Parameters
- reason
The reason the conflict occurred.
Exceptions
| Exception type | Condition |
|---|---|
reason is Collision. In this case, a conflicting item ID must be specified by using RecordConstraintConflictForItem |
|
A constraint conflict or recoverable error has already been set on this object. |
See Also
Reference
SaveChangeWithChangeUnitsContext Class
SaveChangeWithChangeUnitsContext Members
Microsoft.Synchronization Namespace