PRoot.WaitForActivity Method 

Wait for all the specified activity to finish before returning from this method. This will freeze out user input, and so it is generally recommended that you use PActivity.StartTime and PActivity.StartAfter to offset activities instead of using this method.

public virtual void WaitForActivity(
   PActivity activity

See Also

PRoot Class | UMD.HCIL.Piccolo Namespace

Web Accessibility