Version

SuspendDependencyVerification Method

Suspends verification of a Task'sdependencies until the ResumeDependencyVerification method is called.
Syntax
'Declaration
 
Public Sub SuspendDependencyVerification() 
public void SuspendDependencyVerification()
Remarks

Performance can be adversely impacted when adding relatively large numbers of tasks with dependencies.

Use this method to suppress verification of a tasks's dependencies temporarily.

Note that between calls to SuspendDependencyVerification and ResumeDependencyVerification, the value of a task's StartDateTime and EndDateTime properties may not be valid.

Use the ResumeDependencyVerification method to enable verification of a task's dependencies.

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