'Declaration Public Enum TaskConstraintViolationReason Inherits System.Enum
public enum TaskConstraintViolationReason : System.Enum
Member | Description |
---|---|
DependencyConflict | The task's Dependencies collection was modified such that honoring the dependency would violate the constraint. |
None | Used for variable initialization. |
ProjectStartDateConflict | The task's StartDateTime property was set to a value that precedes the associated project's start date. |
StartDateTimeConflict | The task's StartDateTime property was modified such that honoring the new start date/time would violate the constraint. |
SubTaskConflict | A constraint is being applied to a summary task which causes a discrepancy between it and one of its sub-tasks. |
SummaryConflict | A constraint is being applied to a sub-task task which causes a discrepancy between it and its parent (summary) task. |
WorkingHourConflict | The task's StartDateTime property was set to a value which falls within the non-working hour range. |
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