Version

TaskConstraintViolationReason Enumeration

Constants which describe the reason that the TaskConstraintViolation event was fired.
Syntax
'Declaration
 
Public Enum TaskConstraintViolationReason 
   Inherits System.Enum
public enum TaskConstraintViolationReason : System.Enum 
Members
MemberDescription
DependencyConflictThe task's Dependencies collection was modified such that honoring the dependency would violate the constraint.
NoneUsed for variable initialization.
ProjectStartDateConflictThe task's StartDateTime property was set to a value that precedes the associated project's start date.
StartDateTimeConflictThe task's StartDateTime property was modified such that honoring the new start date/time would violate the constraint.
SubTaskConflictA constraint is being applied to a summary task which causes a discrepancy between it and one of its sub-tasks.
SummaryConflictA constraint is being applied to a sub-task task which causes a discrepancy between it and its parent (summary) task.
WorkingHourConflictThe task's StartDateTime property was set to a value which falls within the non-working hour range.
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