Version

TaskConstraintViolationAction Enumeration

Constants which describe the action to be taken when the TaskConstraintViolation event is fired.
Syntax
'Declaration
 
Public Enum TaskConstraintViolationAction 
   Inherits System.Enum
public enum TaskConstraintViolationAction : System.Enum 
Members
MemberDescription
CancelAny constraint or blocking condition is preserved, and the operation that triggered the event is cancelled. For example, if assigning a dependency is what caused the event to occur, the dependency is not applied, and the constraint or blocking condition remains in effect.
OverrideAny constraint or blocking condition is removed, and the operation that triggered the event is allowed to occur. For example, if setting the task's StartDateTime property is what caused the event to occur, the constraint that is preventing the new value from being applied is removed, and the new value is applied.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also