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.
Sets a conflict resolution action for the conflict.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
Public Overridable Sub SetResolutionAction ( _
resolutionAction As ConstraintConflictResolutionAction _
)
'Usage
Dim instance As ItemConstraintEventArgs
Dim resolutionAction As ConstraintConflictResolutionAction
instance.SetResolutionAction(resolutionAction)
public virtual void SetResolutionAction (
ConstraintConflictResolutionAction resolutionAction
)
public:
virtual void SetResolutionAction (
ConstraintConflictResolutionAction resolutionAction
)
public void SetResolutionAction (
ConstraintConflictResolutionAction resolutionAction
)
public function SetResolutionAction (
resolutionAction : ConstraintConflictResolutionAction
)
Parameters
- resolutionAction
The conflict resolution action to set for the conflict.
Exceptions
| Exception type | Condition |
|---|---|
The conflict is not a collision conflict and resolutionAction is set to a value other than SkipChange or SaveConflict, or when the conflict is a collision conflict and no conflict item ID has been specified. |
See Also
Reference
ItemConstraintEventArgs Class
ItemConstraintEventArgs Members
Microsoft.Synchronization Namespace