Exception | Description |
---|---|
SummaryTaskException | Thrown when the property value is changed for a summary task. |
When a task is a summary, The StartDateTime cannot be changed, as it is then defined by the earliest subtask. Attempting to change the value of the StartDateTime property when the task is a summary will cause a SummaryTaskException to be thrown.
Setting the StartDateTime property causes the Constraint property to be set to 'StartNoEarlierThan'.
The Constraint property supercedes the value assigned to the StartDateTime property in that when a constraint other than 'StartNoEarlierThan' is in effect, the task's actual start date/time is determined by the constraint rather than the value assigned to the StartDateTime property. The StartDateTime property returns this "resolved" value, so under certain constraint settings, the StartDateTime property can return a different value than that to which it was last set by the developer.
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