'Declaration Public Enum TaskConstraintViolationAction Inherits System.Enum
public enum TaskConstraintViolationAction : System.Enum
Member | Description |
---|---|
Cancel | Any 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. |
Override | Any 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. |
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